Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FTP Push 'n Pull
Message
De
17/10/2008 15:58:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01355626
Message ID:
01355646
Vues:
26
>>Greetings to all,
>>I work RDP to a site in Florida. I want to write a prg there to push some files to the FTP site there so I can
>>schedule a task here that connects and pulls the files down to our test system so we can keep current.
>>There in FL Windows Explorer has Internet Explorer with the FTP.whatever.com
>>How would I write code like Copy file *.dbf to ?????????????????
>>So my Arizona midnight CuteFTP can connect/pull files down from FTP.whatever.com
>>Just need how to: Copy file *.dbf to the FTP.whatever.com
>>WScript..?
>>Thanks.
>
>Check http://www.ctl32.com.ar/default.asp esp. ctl32_ftp class.

Borislav:

The ctl32_ftp class is nice, but a newer/better option is the libcurl.dll wrapper class:

http://www.ctl32.com.ar/libcurl.asp

ctl32_ftp class is a wininet.dll wrapper: http://curl.haxx.se/libcurl/wininet.html

"WinInet is fine for a "hack", but isn't usable for serious I/O - libcurl is MUCH more robust, flexible, and faster."

Also, with libcurl you can do FTP over SSL, that wininet does not support.

Carlos Alloatti
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform