I mounted ftp location by using curlftpfs . The problem is that it is EXTREMELY slow to the point it is useless. The time of performing pretty much everything is about 10 seconds. It even includes getting any VIM command to work, including navigation (!) . I started to think that maybe I'm doing something wrong as it is impossible to work at all with that responsiveness. It would be a lot faster to download->edit->upload files with FileZilla if I need to wait 10s for moving cursor down one line in vim. Anyone have any idea why it could be that? Is it possible to make it faster with some curlftpfs options?
I have pretty good connection.
If the FTP server is located across the world, there will definitely be a delay. Also, if the server is shared with other users and its speed is limited, you will likely notice slower speeds. The FTP speed can also be affected by its path and its heavy traffic. Know the FTP Server and its Path.
You can check this by doing the following: Open your FTP application. Go to the FTP Options and locate Passive Mode. In FileZilla, this is located under Edit Settings FTP Transfer Mode. If Passive Mode is selected, un-select this option. If Passive Mode is not selected, select this option. Try using your FTP again.
Why? 1 Open your FTP application. 2 Go to the FTP Options and locate Passive Mode. In FileZilla, this is located under Edit Settings FTP Transfer Mode. 3 If Passive Mode is selected, un-select this option. If Passive Mode is not selected, select this option. 4 Try using your FTP again.
But speed is not the most crucial factor that differentiates FTP, SFTP, FTPS, and HTTP. You might be more limited by the speed of your network than by the overhead of these protocols.
Like said, it is slow because of libcurl3-gnutls
, downgrading that is the current workaround but the consequences for the other dependencies (there are like 10-15 on my Xubuntu 14.04 system) are pretty much unknown.
I personally decided against downgrading but switched to sshfs
for now. So if you have SSH access to your server this may work for you too. It is much faster than the currently broken curlftpfs
. Here is a guide:
http://www.howtogeek.com/howto/ubuntu/how-to-mount-a-remote-folder-using-ssh-on-ubuntu/
https://bugs.launchpad.net/ubuntu/+source/curlftpfs/+bug/1267749?comments=all http://forum.xbmc.org/showthread.php?tid=176334&pid=1591001#pid1591001
A few people have determined that libcurl3-gnutls
is the culprit, and that downgrading helps. I'm not a fan of this, because many packages rely on an up to date libcurl3-gnutls
. So, I also deal with the slowness, but am not sure what a good answer is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With