Cannot escape character '@' in fstab file
- by ubuntico
I want to attach remote FTP directory as a local directory in my system. I will use curlftpfs line in the fstab file , but to login I have to pass my user name and password. The user name has a special character (@) and it needs to be escaped via octal ascii code. The octal ascii for '@' is 100. But when I try to enter the following into the FSTAB file,
curlftpfs#myself\100myself.com:ftpPassword@ftp://ftp.mysite.com /mnt/somedir
I get an error saying
Error connecting to ftp: Couldn't resolve host 'myself.com:ftpPassword@ftp://ftp.mysite.com'
The fstab does not recognize escaped symbol @ (\100) and thinks that the FTP site should start immediately after the @ symbol (just like I haven't escaped it).
Can someone help? Why I cannot escape @, when it can be done for space character, for example?