home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume38
/
libftp
/
part01
/
FtpSendMessage.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1993-07-13
|
303 b
|
13 lines
#include "FtpLibrary.h"
STATUS FtpSendMessage(FTP *con,char * Message )
{
if ( write ( con -> sock , Message , strlen (Message)) == -1 )
return QUIT;
if ( write ( con -> sock , "\015\012",2) == -1 )
return QUIT;
if ( con -> debug != NULL )
(*con->debug)(con,0,Message);
return 1;
}