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

How to automate FTP between AIX and Windows

Status
Not open for further replies.

AIXUser53

IS-IT--Management
Aug 16, 2002
47
US

Hi guys,

Can anyone help me and tell me the steps I should take to setup a automated ftp between AIX and Windows based system.

Thank you in advance.

 
bro,
ftp from which machine to which machine? AIX to windows or windows to AIX, automation of ftp from AIX has already been posted previously, please scroll some pages here and you'll find, if you need further assistance, just let us know
have a nice day!
 
I am lookign for aix to windows. I do not know where I need to create the .netrc file.

Thanks for your response
 
hi aixuser53:
you can run ftp in the foreground or backgroud:
ftp -n < ftp.in > ftp.out&
you ecen can logout from your session if you put the
nohup ftp -n < ftp.in > ftp.out&
ftp.in contains the ftp command:
open <internet address of the target computer>
user <username> <passwd>
put file
get file
quit
ftp.out will contain the message produced
by the actions of ftp.
Example:
#cd /tmp/userhome
#pwd
/tmp/userhome
#cat test
open 192.168.16.205
user root root
bin
prompt
hash
cd /tmp
mget net*
quit
#ftp -n < test
hope can help you.........bye.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top