Hi all,
I know that this is a "small fish" but UI tried many solutions provided in different calls.
I need to ftp files to a remote host via crontab.
But I always got problems to start a script even from shell which connects me to the remote box.
There are two different constellations
HP/UX 10.20 as source and Linux SUSE 8.1 as destination
Linux SUSE 8.0 Server to SUSE 8.1
Here's my script by now
#!bin/sh
ftp -n <ipadress> <<EOF
user <user> <pass>
do something
quit
EOF
but it always asked for a password and can't connect from that script. As I understand former solutions
user <user> <password> will work, but at my boxes it won't.
Is it possible that the remote box is coonfigured to ask for pass anytime ?
There's running vsftp on that box.
regds
Uwe
I know that this is a "small fish" but UI tried many solutions provided in different calls.
I need to ftp files to a remote host via crontab.
But I always got problems to start a script even from shell which connects me to the remote box.
There are two different constellations
HP/UX 10.20 as source and Linux SUSE 8.1 as destination
Linux SUSE 8.0 Server to SUSE 8.1
Here's my script by now
#!bin/sh
ftp -n <ipadress> <<EOF
user <user> <pass>
do something
quit
EOF
but it always asked for a password and can't connect from that script. As I understand former solutions
user <user> <password> will work, but at my boxes it won't.
Is it possible that the remote box is coonfigured to ask for pass anytime ?
There's running vsftp on that box.
regds
Uwe