Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FTP with curlftpfs is extremely slow to the point it is impossible to work with

Tags:

ftp

curlftpfs

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.

like image 438
Łukasz Zaroda Avatar asked Jun 23 '14 07:06

Łukasz Zaroda


People also ask

Why is my FTP speed so slow?

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.

Why is my FTP not working in FileZilla?

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 won't my FTP transfer work?

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.

Is speed the most important factor for FTP?

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.


2 Answers

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/

like image 72
Bastian von Halem Avatar answered Sep 24 '22 13:09

Bastian von Halem


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.

like image 26
badteeth Avatar answered Sep 24 '22 13:09

badteeth