Handling FTP usernames with @ in them

During my recent FTP adventures, I also found that some shared hosting sites give you an FTP username with the ‘@’ symbol in them. It is fine as long as you are going to use a GUI client to connect to FTP. But if you try using the commandline or Finder in Mac, you will have issues since the ‘@’ symbol is also used to separate the username from the host.

After some research I found that the ‘@’ symbol in the username can be replaced with ‘+’ while specifying it in the command line. I tested it with both wput and the Finder in Mac and it worked perfectly in both.

So remember, the next time you try to connect to FTP server from command line and you have a ‘@’ symbol in the username, then replace it with the ‘+’ symbol. Happy FTP’ing 😉

Related posts

Tags: , ,

2 Comments so far

Follow up comments through RSS Feed | Post a comment

  • Anonymous says:

    Wow thanks, I would have never come up with that for myself! Didn’t know Finder Go Connect to… is using the command line. Transmit always worked, but even Safari used the command line.

  • Anonymous says:

    But you can’t upload with the Finder and FTP 🙁

Leave a Reply to Anonymous Cancel reply

Your email address will not be published. Required fields are marked *