nvn
24th August 2006, 12:41
Hi...
SUSE 10.1, ISPCOnfig 2.2.6
I am writing a script to make a backup of my web-folders...
When i try to make an automated ftp transfer I'm asked for password.... ?
I'm using a file with the commands:
ftp < autoftp
File: autoftp
open ftpserver.dk
user
password
put *.*
bye
Then i get this:
web1:/backup # ftp < autoftp
Connected to ftpserver.dk.
220 ProFTPD 1.3.0 Server (ProFTPD Default Installation) [192.168.1.151]
Name (ftpserver.dk:root): 331 Password required for user.
Password:
If i enter the password the files are transmitted as it should.
I have tried it on windows XP
Same command:
ftp -i:autoftp
working perfect.
Please help me... :)
SUSE 10.1, ISPCOnfig 2.2.6
I am writing a script to make a backup of my web-folders...
When i try to make an automated ftp transfer I'm asked for password.... ?
I'm using a file with the commands:
ftp < autoftp
File: autoftp
open ftpserver.dk
user
password
put *.*
bye
Then i get this:
web1:/backup # ftp < autoftp
Connected to ftpserver.dk.
220 ProFTPD 1.3.0 Server (ProFTPD Default Installation) [192.168.1.151]
Name (ftpserver.dk:root): 331 Password required for user.
Password:
If i enter the password the files are transmitted as it should.
I have tried it on windows XP
Same command:
ftp -i:autoftp
working perfect.
Please help me... :)