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
- Count the number of empty lines in a file using grep
- Passing command-line arguments to Pig scripts
- Remove duplicate lines based on a field
- Parse Apache error log and list down all missing images
- Excluding .svn folders while transferring entire folder by FTP
- Alternative for WinSCP - WinSCP
- Alternative for WinSCP