LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Wget and "at-sign" (https://www.linuxquestions.org/questions/linux-general-1/wget-and-at-sign-324519/)

Bwongar 05-17-2005 07:11 PM

Wget and "at-sign"
 
I need a cronjob to run a nightly script to download stuff from an FTP server. For this I use wget. The only problem is that I have an @ in my password and it screws everything up.

Code:

$ wget ftp://username:P@ssword@example.org/folder/file.tar.gz
Resolving ssword@example.org... failed: Host not found.

Any suggestions other than changing my password? I wish I could, but the idiots that run the server haven't gotten back to me in over a week.

auximini 05-17-2005 07:29 PM

what if you escape it with a \? So something like

maybe even 3 slashes (\\\) or quotes?

Bwongar 05-17-2005 07:39 PM

Those were all good ideas, but unfortunately no dice. :(


All times are GMT -5. The time now is 01:16 AM.