Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto FTP using MKS toolkit

Status
Not open for further replies.

uguess

Technical User
Nov 5, 2004
40
CA
Hi Guys

Need some help. I am using MKS toolkit to run unix on windows.

i have below directory.
c:\download\
help.txt


I want to write a shell script which will automatically transfer this file over to ftp site. It will auto login & password. go to above directory pick up file. How do you automate FTP in MKS toolkit.
 
If that toolkit contains ncftp/ncftpput, you could do

ncftpput -u user -p pass -z host /dest/path C:/dl/help.txt

. Mac for productivity
.. Linux for developement
... Windows for solitaire
 
The good old MS ftp.exe has the useful -s option ...

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
faq80-772 gives a full bells and whistles version

Columb Healy
 
I tried this but will not work.

open ip
username password
cd /ddc/TEST/
bin
prompt
put $file
close
quit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top