Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FTP file transfer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00612127
Message ID:
00612326
Views:
29
Allan, you can use also the FTP.EXE utility installed on every Windows computer. It is easy to use it in a command window as well as in a batch mode. Here is an example of a batch file accompanied with a command file:

* send.bat------------------------------
ftp -s:send.txt

* send.txt -----------------------------
open ftp.myftp.com
myusername
mypassword

cd mydir/files

lcd c:\mysend

ascii
put myfile.txt

disconnect
bye
-----------------------------------------
Within SEND.TXT you can use any regular FTP command to send and receive files, create and delete files and directories etc. Run FTP.EXE and type HELP to get a list of available commands.

Regards,
Anatoliy Mogylevets
devicecontext@msn.com
http://www.news2news.com/vfp
Previous
Reply
Map
View

Click here to load this message in the networking platform