0

Firstly my main goal is to try and get FTP files recursively in Centos. However the actual FTP login contains an @ which ruins the syntax. Is there some way to place the username in "double quotes" or some such equivalent such that I can use @in the username?

deltanovember
  • 531
  • 2
  • 7
  • 13

3 Answers3

1

If you use wget's --user=wh@tever and --password=bl@h options rather than the user:pass@host syntax, it should work fine.

DerfK
  • 19,493
  • 2
  • 38
  • 54
0

Have you tried replacing the @ by

@

?

Bart De Vos
  • 17,911
  • 6
  • 63
  • 82
  • Doesn't seem to work...you mean something like (assuming login of me@domain.com) wget -r ftp://me@domain.com:password@ftp.mydomain.com – deltanovember Feb 16 '11 at 21:59
0

what about replacing @ with %40

since it is posted by http special chars should be urlencoded.

Imre L
  • 111
  • 2