Script with 'ftp' and rewrite using 'sftp'
- From: Denny Watkins <watkins@xxxxxxxxxxxxxxx>
- Date: Fri, 2 Feb 2007 09:05:39 -0600
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
- Follow-Ups:
- Re: Script with 'ftp' and rewrite using 'sftp'
- From: Bill Verzal
- Re: Script with 'ftp' and rewrite using 'sftp'
- From: Enrique Sanchez Vela
- Re: Script with 'ftp' and rewrite using 'sftp'
- Prev by Date: Re: Time Puzzle (and DST update about the web link)
- Next by Date: Re: error SRC 11007631 Power/Cooling
- Previous by thread: error SRC 11007631 Power/Cooling
- Next by thread: Re: Script with 'ftp' and rewrite using 'sftp'
- Index(es):
Relevant Pages
|
|