Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP Push 'n Pull
Message
From
17/10/2008 15:58:07
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01355626
Message ID:
01355646
Views:
25
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform