Hi,
I've been suggested to use wget to retrieve a file by ftp like :
wget ftp://$USER:[EMAIL PROTECTED]/$URI -O $URI-$DATE
which I find nice, but my probleme is that my login contains a @ (
[EMAIL PROTECTED] is my login. Hostname is different from the ftp site
I connect to...)
So it makes :
wget
site
I connect to...)
So it makes :
wget ftp://[EMAIL PROTECTED]:[EMAIL PROTECTED]/home/mybackup.sql.bz2
is there any way to avoid the error : incorrect port number ?
Yes, two ways:
1. Replace @ with %40, which will cause it to not be interpreted
specially:
ftp://login%40myhost:[EMAIL