General information
Title:
Auto download from ftp site
Hi,
I downloaded the ftp program Written by: Robert Abram. This is a very beautiful program. We can use GetftpFile() to get the files from the ftp site like
? "--- Receiving File to FTP Server"
IF !sz_ftp.GetFtpFile("testfile.txt", "testfile.new", .T.)
?sz_ftp.GetErrorCode(.T.)
ENDIF
ListDir()
But how can I get the files whose names I donot know or whose names changes everyday. I tried like
IF !sz_ftp.GetFtpFile('*.dbf', "n:\out\wr1008.dbf", .T.)
?sz_ftp.GetErrorCode(.T.)
ENDIF
but get error that file doesnot exist. Any help?
Thanks
Bharat
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only