Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto download from ftp site
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Auto download from ftp site
Divers
Thread ID:
00949928
Message ID:
00949928
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform