This is a discussion on Trouble with wget within the Linux General forums, part of the Linux Forums category; Hi, I'm trying to execute a wget command with a username and password on Fedora Core 5 Linux. Problem ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I'm trying to execute a wget command with a username and password on Fedora Core 5 Linux. Problem is my username to the FTP site contains a "@". Username is "dalvarado@thedomain.com". So when I try the following, I get the following error: [laredotornado@mymachine]~/dir1% wget -r ftp://dalvarado@thedomain.org:passwo...hedomain.org:/ ftp://dalvarado@thedomain.org:passwo...edomain.org:/: Bad port number. FINISHED --16:18:31-- Downloaded: 0 bytes in 0 files I even tried adding a "\" in front of the "@", like so: [laredotornado@mymachine]~/savetownlake% wget -r ftp://dalvarado\@thedomain.org:passw...hedomain.org:/ but got the same error. Any advice on how to fix? - Dave |
|
|||
|
I demand that laredotornado@zipmail.com may or may not have written...
> I'm trying to execute a wget command with a username and password on Fedora > Core 5 Linux. Problem is my username to the FTP site contains a "@". > Username is "dalvarado@thedomain.com". So when I try the following, I get > the following error: > [laredotornado@mymachine]~/dir1% wget -r ftp://dalvarado@thedomain.org:passwo...hedomain.org:/ > ftp://dalvarado@thedomain.org:passwo...edomain.org:/: Bad port number. [snip] > I even tried adding a "\" in front of the "@", like so: > [laredotornado@mymachine]~/savetownlake% wget -r ftp://dalvarado\@thedomain.org:passw...hedomain.org:/ The shell ate that \ :-) You could try \\@ (or \@, with the whole URL in quotation marks) or %40, but you probably really want the --user and --password options or the --ftp-* versions. -- | Darren Salt | linux or ds at | nr. Ashington, | Toon | RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army | + Buy local produce. Try to walk or cycle. TRANSPORT CAUSES GLOBAL WARMING. Don't put too fine a point to your wit for fear it should get blunted. |