Re: [SLUG] How to use wget when username contains a "@"
What about the --http-user= option? man wget --http-user=user HTH Stu On Thu, 2005-04-07 at 18:22 +1000, Grant Parnell - slug wrote: > On Thu, 7 Apr 2005, Michael Kraus wrote: > > > G'day... > > > > I'm wanting to retrieve some files of a web server using wget. > > > > Unfortunately though the username contains a @ symbol, and the man for > > wget indicates that the way to do what I want would be to: > > > > wget -r ftp://username:[EMAIL PROTECTED]/dir/file > > > > However, the username contains a @ > > Well it's going to be some form of escaping... maybe \@ or %40 > > -- > -- > Grant Parnell - SLUG President > EverythingLinux services - the consultant's backup & tech support. > Web: http://www.elx.com.au/support.php > We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au. > Phone 02 8756 3522 to book service or discuss your needs > or email us at paidsupport at elx.com.au > > ELX or its employees participate in the following:- > OSIA (Open Source Industry Australia) - http://www.osia.net.au > AUUG (Australian Unix Users Group) - http://www.auug.org.au > SLUG (Sydney Linux Users Group) - http://www.slug.org.au > LA (Linux Australia) - http://www.linux.org.au > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to use wget when username contains a "@"
On Thu, 7 Apr 2005, Michael Kraus wrote: > G'day... > > I'm wanting to retrieve some files of a web server using wget. > > Unfortunately though the username contains a @ symbol, and the man for > wget indicates that the way to do what I want would be to: > > wget -r ftp://username:[EMAIL PROTECTED]/dir/file > > However, the username contains a @ Well it's going to be some form of escaping... maybe \@ or %40 -- -- Grant Parnell - SLUG President EverythingLinux services - the consultant's backup & tech support. Web: http://www.elx.com.au/support.php We're also busybits.com.au and linuxhelp.com.au and everythinglinux.com.au. Phone 02 8756 3522 to book service or discuss your needs or email us at paidsupport at elx.com.au ELX or its employees participate in the following:- OSIA (Open Source Industry Australia) - http://www.osia.net.au AUUG (Australian Unix Users Group) - http://www.auug.org.au SLUG (Sydney Linux Users Group) - http://www.slug.org.au LA (Linux Australia) - http://www.linux.org.au -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to use wget when username contains a "@"
Michael Kraus wrote: G'day... I'm wanting to retrieve some files of a web server using wget. Unfortunately though the username contains a @ symbol, and the man for wget indicates that the way to do what I want would be to: wget -r ftp://username:[EMAIL PROTECTED]/dir/file However, the username contains a @ How do I work around this? in this cases i use curl (just another download tool), because this allows me to specify the username and password in the netrc-file in the user's home directory. this is the work around for me. i think wget also supports this way of authentication. i suggest to use a different tool like ncftpget for ftp transfer. cu -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] How to use wget when username contains a "@"
If a user and pass is required, I'd use ncftpget instead then you'd just do a; ncftpget -u username -p password ftp://host/dir/file Michael Kraus wrote: G'day... I'm wanting to retrieve some files of a web server using wget. Unfortunately though the username contains a @ symbol, and the man for wget indicates that the way to do what I want would be to: wget -r ftp://username:[EMAIL PROTECTED]/dir/file However, the username contains a @ How do I work around this? -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
[SLUG] How to use wget when username contains a "@"
G'day... I'm wanting to retrieve some files of a web server using wget. Unfortunately though the username contains a @ symbol, and the man for wget indicates that the way to do what I want would be to: wget -r ftp://username:[EMAIL PROTECTED]/dir/file However, the username contains a @ How do I work around this? Thanks Regards, Michael Kraus Software Developer [EMAIL PROTECTED] Direct Line 02 8306 0007 Wild Technology Pty Ltd , ABN 98 091 470 692 Sales - Ground Floor, 265/8 Lachlan Street, Waterloo NSW 2017 Admin - Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017 Telephone 1300-13-9453 | Facsimile 1300-88-9453 http://www.wildtechnology.net DISCLAIMER & CONFIDENTIALITY NOTICE: The information contained in this email message and any attachments may be confidential information and may also be the subject of client legal - legal professional privilege. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited. This email and any attachments are also subject to copyright. No part of them may be reproduced, adapted or transmitted without the written permission of the copyright owner. If you have received this email in error, please immediately advise the sender by return email and delete the message from your system. -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html