Below is a simple script I am working on. My problem is that I want to put a
file on the remote system on a different filename and has an extension of
the current date that file was transferred. Is this possible? I want to do
the change within the ftp session script.
ftp -nv hostname <<EOM
user anonymous hpatel_at_optimark.com
cd /pub/incoming
ascii
hash
put filename1 filename2.date
bye
EOM
_______________________________________
Arnel M. Banzon
UNIX Systems Analysts Tel. No. (201)536-7286
Optimark Technologies Inc. Cell
No. (201)970-6133
30 Montgomery 8th Flr
Pager: 1050006
Systems Support Dept Fax
No. (201) 332-3489
Jersey City NJ 07302
Received on Wed Apr 19 2000 - 15:32:10 NZST