home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume38
/
libftp
/
part01
/
FtpOpenDir.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-13
|
248b
|
14 lines
#include "FtpLibrary.h"
STATUS FtpOpenDir(FTP * con,char * file)
{
char * command;
if ( file == NULL || *file == '\0' )
command = "NLST";
else
sprintf(command,"NLST %s",file);
return FtpCommand(con,command,"",120,150,200,EOF);
}