Re: Script with 'ftp' and rewrite using 'sftp'
- From: Bill Verzal <bjverzal@xxxxxxxxx>
- Date: Sun, 4 Feb 2007 19:52:20 -0800
<< means read from here to the end.
Why take a secure file transfer medium and code a visible password in the
script ?
BV
--- Denny Watkins <watkins@xxxxxxxxxxxxxxx> wrote:
Aixers,
I have an old script written by someone else. The script is as follows
NOTE: ip address,login name, password,etc have been changed):
ftp -inv<<!
open xxx.xxx.xxx.xxx
user user-name password
cd /cgi-bin/import/
dir
as
put some.txt
dir
quit
Question #1: What does "<<!" really mean?
Question #2: How would one rewrite this script to use sftp?
Thanks,
Denny Watkins
Morningside College
Sioux City, IA 51106-1717
Phone: 712-274-5250
Email: watkins@xxxxxxxxxxxxxxx
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
- References:
- Script with 'ftp' and rewrite using 'sftp'
- From: Denny Watkins
- Script with 'ftp' and rewrite using 'sftp'
- Prev by Date: Re: Time Puzzle (and DST update about the web link)
- Next by Date: Re: Script with 'ftp' and rewrite using 'sftp'
- Previous by thread: Re: Script with 'ftp' and rewrite using 'sftp'
- Next by thread: Re: Script with 'ftp' and rewrite using 'sftp'
- Index(es):