Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 2716  / 3 Years ago, wed, june 2, 2021, 1:43:28

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#myself100myself.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?


More From » fstab

 Answers
2

It seems that this is not possible in fstab file as @ symbol is also a trigger. Experts recommend using SSHFS instead (https://help.ubuntu.com/community/SSHFS).



I will mark this as an answer.


[#41993] Friday, June 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ndeecru

Total Points: 109
Total Questions: 128
Total Answers: 117

Location: Czech Republic
Member since Thu, Aug 11, 2022
2 Years ago
ndeecru questions
Mon, Jun 20, 22, 04:53, 2 Years ago
Thu, Mar 10, 22, 18:53, 2 Years ago
Thu, Oct 14, 21, 20:53, 3 Years ago
Thu, Apr 28, 22, 10:16, 2 Years ago
;