Home » Infrastructure » Unix » FTP-Skript
FTP-Skript [message #97483] Tue, 11 June 2002 01:12 Go to next message
Yvonne
Messages: 4
Registered: June 2002
Junior Member
Why does this Skript not function :

ftp -i <<EOF
open ip
user root password
bin
cd /home/log/
mget /home/log/GT_*.log
bye
EOF

it breaks, says ftp[[2]] open not found
ftp[[3]] user not found
ftp[[3]] password not found
ftp[[3]] cd not found
....
Re: FTP-Skript [message #97484 is a reply to message #97483] Tue, 11 June 2002 02:08 Go to previous message
Sujit Mahapatra
Messages: 19
Registered: March 2002
Junior Member
Try with the following option:

ftp -ni <<EOF (instead of ftp -i)
...
...

Cheers,

Sujit
Previous Topic: Re: Solaris CPU's and Oracle server
Next Topic: Re: Problem Creating a DataBase on LINUX
Goto Forum:
  


Current Time: Thu Mar 28 18:57:18 CDT 2024