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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to FTP files from AIX to Windows PC

Status
Not open for further replies.

MCubitt

Programmer
Mar 14, 2002
1,081
GB
I would like to create a script which when run on Windows will GET *all* files from a certain folder and subfolders within there, recreating the structure in Windows as it does. The files may be BIN and/or ASC.

eg
on AIX
/start
/start/file.txt
/start/extra
/start/extra/oldfile.txt

Would create the same on Windows.

Possible? Easy?

thanks




Applications Support
UK
 
Hi!

It is possible and easy using Windows built-in ftp command:

create a file like this (ftp.txt):
--------------------
o myhost.stuff.com
myusername
mypassword
bin
cd /some/mydir
mget *
by
--------------------

Then get a cmd.exe and type:
ftp -i -s:ftp.txt

and wait for the miracle to happen :)

--Trifo
 
Hello, My problem is when I FTPing from an AIX 5.1 to Stratus the connection user and Password is Ok when i want put a file this process no work only when i utilizes the tool tcpdump the transfer complete, I need yours coments and help

arojasm@stimx.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top