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!

Automate FTP to unix boxes

Status
Not open for further replies.

patnim17

Programmer
Jun 19, 2005
111
US
HI,
I need to automate FTPing some files from a box running Windows 2000 to a Unix box in a specified directory.

How can I accomplish this..?

pat

 
Hi

To upload the autoexec.bat file to myserver as user myname with [tt][ignore]ftp.exe[/ignore][/tt] :
Code:
[blue]c:\>[/blue] type ftpcommands.txt
open myserver
user myname password
cd \specified\directory
put c:\autoexec.bat
close
quit

[blue]c:\>[/blue] ftp -n -s:ftpcommands.txt
By the way, how is this related to General UNIX discussion ?

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top