Re: Non interactive ftp
From: Naylor, Jim (Jnaylor_at_SCHNUCKS.COM)
Date: 09/16/05
- Previous message: Justin Bleistein: "Re: Non interactive ftp"
- Maybe in reply to: Faisalq_at_CYBER.NET.PK: "Non interactive ftp"
- Next in thread: Damir Delija: "Re: Non interactive ftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Sep 2005 08:11:47 -0500 To: aix-l@Princeton.EDU
You can create a script with the following:
echo "user username password" > ftp.txt
echo "cd /some/directory" >> ftp.txt
echo "put filename" >> ftp.txt
echo "bye" >> ftp.txt
ftp -nv xxx.xxx.xxx.xxx < ftp.txt > ftp.log
Thanks,
Jim Naylor
Unix/Storage Systems Administrator
Schnuck Markets, Inc.
* Direct (314) 994-4784
))( Cell (314) 691-0186
Fax (314) 994-4684
* E-Mail jnaylor@schnucks.com
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of Faisalq@CYBER.NET.PK
Sent: Friday, September 16, 2005 7:08 AM
To: aix-l@Princeton.EDU
Subject: Non interactive ftp
Hi,
Currently when we do ftp host, it asks for userid/password and then put/get needs to be entered.
How can this be done in batch mode, so that all files to be transferred can be specified in one go and userid/password prompt is also not displayed.
Thanks.
- Previous message: Justin Bleistein: "Re: Non interactive ftp"
- Maybe in reply to: Faisalq_at_CYBER.NET.PK: "Non interactive ftp"
- Next in thread: Damir Delija: "Re: Non interactive ftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]