1

How do i use a web browser to FTP with a user/pass where the pass has a @ in it?

Example:

ftp://user:p@[email protected]

the above will not work.

2 Answers 2

6

Maybe ftp://user:p%[email protected]?

3
  • I thought this as well, I get a 530 when i try this method.
    – Justin808
    Oct 4, 2010 at 21:04
  • @Justin: If that password is correct, maybe the ftp server just can't handle a password encoded like that. Oct 4, 2010 at 21:07
  • The above answer should work, i've used similar for usernames that contain a @ sign.
    – Sirex
    Oct 7, 2010 at 8:45
2

You'll need to encode the @. See this page for a reference:

This encoding (which is defined by URL specifications, not HTML specifications) consists of using the percent sign followed by two hexadecimal digits, presenting the code position.

The at-sign is at code position 40 (hex).

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .