6
1
My hosting company makes all my usernames with a "@" in them.
curlftpfs user="user@domain.com:pass" ftp://ftp.domain.com/ ~/domain/
For some reason I get in response
Error connecting to ftp: Couldn't resolve host 'domain.com:pass'
I think that it's trying to connect to user@domain.com without the password
(because of the @ sign)
holy crap, I did this command sudo curlftpfs -o allow_other ftp://user%40domain.com:pass@domain.com/ ~/domain/ And now for some reason I can't do an "ls" on my home directory! – Asaf – 2011-04-10T11:44:00.027
2@Asaf: When you run
ls
, it calls stat() on each item in the directory; when it reaches~/domain
, it has to wait until curlftpfs responds. (For this problem, I usually put all remote mountpoints in a separate directory, such as~/fs/
or~/mnt/
.) Since curlftpfs is FUSE-based, you can kill its process if it hangs for too long. – user1686 – 2011-04-10T13:19:30.590