Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto download from ftp site
Message
From
08/10/2004 11:58:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Auto download from ftp site
Miscellaneous
Thread ID:
00949928
Message ID:
00949928
Views:
59
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
Map
View

Click here to load this message in the networking platform