fixing my FTP (slow download speed)

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
User avatar
CuddlyBunny
504 Command not implemented
Posts: 7
Joined: 2015-12-23 20:59
First name: Nicolas
Last name: Teetz

fixing my FTP (slow download speed)

#1 Post by CuddlyBunny » 2015-12-23 21:11

Hi,

I've been googling around for a while because my download speed for single large files with FileZilla isn't quite where I want it to be.
(1,5mb/s on a 100mbit downstream connection with a 100mbit upstream dedicated server from Kimsufi, which is as far as I know one of the companies owned by OVH)

So far I've been told (by various sites) to use an FTP client that supports segmenting until I came across this discussion in a thread on the FileZilla forum.
Now I'd like to keep using FileZilla and not use some random FTP client just because it supports segmented FTP.

I use SFTP and I really have no idea of the FTP configuration of my Debian server.
I just slapped it on there with some apt-get command and followed a few instructions.
I know my way around my server, just not the FTP part.

So I'd be very thankful if some of you could guide me through finding the issues that create the slow download speed and help me fix them.
I'd do it myself with the might of Google but in this case I really just have no idea of FTP setup on Debian and I believe it'd be a challenge to hard for me on my own.

Greetz,
- Bunny

PS: Why don't you support Gmail? I love Gmail!
I was under the impression they check their users authenticity quite well since you have to give them your phone number and submit the code they send you.

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: fixing my FTP (slow download speed)

#2 Post by botg » 2015-12-23 22:44

What's the latency to your server during a transfer?

User avatar
CuddlyBunny
504 Command not implemented
Posts: 7
Joined: 2015-12-23 20:59
First name: Nicolas
Last name: Teetz

Re: fixing my FTP (slow download speed)

#3 Post by CuddlyBunny » 2015-12-23 23:06

No idea how to check that within FileZilla but if I just ping it during a transfer with cmd it's at around 30ms.

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: fixing my FTP (slow download speed)

#4 Post by botg » 2015-12-25 21:29

Latency looks fine, that's not the problem.

Which SFTP server software is the server running?

During a transfer, what is the CPU usage of both client and server?

User avatar
CuddlyBunny
504 Command not implemented
Posts: 7
Joined: 2015-12-23 20:59
First name: Nicolas
Last name: Teetz

Re: fixing my FTP (slow download speed)

#5 Post by CuddlyBunny » 2015-12-26 19:10

Not sure about the SFTP server software. I believe it's internal-sftp with sshd. (If that's the answer you're looking for.)
Hard to figure out anything about the sftp version since the "sftp" command doesn't have an option for version information.

CPU usage of the server during a transfer is at ~15%. CPU usage of the client is at ~7%.

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: fixing my FTP (slow download speed)

#6 Post by boco » 2015-12-27 03:02

Could be the fact alone that it's SFTP. SFTP is not a particularly fast protocol, unfortunately. CPU values are OK.

You might have more luck using FTPS Explicit, though.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
CuddlyBunny
504 Command not implemented
Posts: 7
Joined: 2015-12-23 20:59
First name: Nicolas
Last name: Teetz

Re: fixing my FTP (slow download speed)

#7 Post by CuddlyBunny » 2015-12-27 12:00

So FTP should present better results? Are there any steps I should take before testing this?
(Other than allowing non-SSH connections to make standard FTP usage possible of course.)

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: fixing my FTP (slow download speed)

#8 Post by boco » 2015-12-27 18:15

FTP (as dedicated File Transfer Protocol) usually provides more performance than SFTP (which is a subset of SSH2 that's designed rather for remote shell than dedicated file transferring). The security of FTPS Explicit and SFTP is comparable.

You need an FTP server running on the target, with support for FTPS (including modern cipher suites/algos) and UTF-8 (i18n). Further support for MFMT (setting remote timestamps after upload) and MLSx (standardized machine-readable listing format) are a plus. On Linux, many of the available packages should offer support.

Other than that, it's a matter of forwarding allowing the proper ports (listening port and data range) and telling the server to return the correct IP when asked. The Network Configuration Guide is written for FileZilla Server on Windows, but large parts of it apply to any other FTP setup, too.

FileZilla test site: https://ftptest.net. It also has further help available.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: fixing my FTP (slow download speed)

#9 Post by botg » 2015-12-27 18:56

I don't see it mentioned yet: Which version of FileZilla are you using?

User avatar
CuddlyBunny
504 Command not implemented
Posts: 7
Joined: 2015-12-23 20:59
First name: Nicolas
Last name: Teetz

Re: fixing my FTP (slow download speed)

#10 Post by CuddlyBunny » 2015-12-28 00:10

I'm using FileZilla 3.14.1.

So I'm currently using the default SFTP server that comes with Debian. At least that's what I think.
The more I think about the less I actually recall installing any specific FTP package on my server.

I've done some research on which FTP packages are recommended and came to these two:

https://security.appspot.com/vsftpd.html
https://www.pureftpd.org/project/pure-ftpd

Heard of any of the two? Can you recommend one of these? If I recall correctly I've seen some people use vsftpd while reading guides and
forum posts and such to setup my server. Maybe I'll just go with that then, although the configuration of Pure-FTPd looks extremely quick and easy.

Greetz,
- Bunny

User avatar
boco
Contributor
Posts: 26934
Joined: 2006-05-01 03:28
Location: Germany

Re: fixing my FTP (slow download speed)

#11 Post by boco » 2015-12-28 03:40

From what I remember, vsftpd is the better one. vs=very secure
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: fixing my FTP (slow download speed)

#12 Post by botg » 2015-12-28 09:34

CuddlyBunny wrote:I'm using FileZilla 3.14.1.

So I'm currently using the default SFTP server that comes with Debian.
Transfer speeds shouldn't be an issue in this configuration.

Unless you have manually configured a speed limit in FileZilla, I don't see why you are getting such slow transfers.

User avatar
CuddlyBunny
504 Command not implemented
Posts: 7
Joined: 2015-12-23 20:59
First name: Nicolas
Last name: Teetz

Re: fixing my FTP (slow download speed)

#13 Post by CuddlyBunny » 2015-12-28 14:57

I am using SSH though and denying any connections over the standard FTP port. So basically I'm allowing SFTP connections over the SSH port. Which configuration would create slow transfer speeds? I don't have any speed limits active in FileZilla.

xeon
226 Transfer OK
Posts: 131
Joined: 2009-08-19 03:18

Re: fixing my FTP (slow download speed)

#14 Post by xeon » 2015-12-30 07:23

OVH is well known for running many of their peering points at or near capacity, it wouldn't surprise me if this was simply a matter of congestion. It would certainly explain why a lot of the feature requests for segmented downloads come from people with servers on OVH's network.

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: fixing my FTP (slow download speed)

#15 Post by botg » 2015-12-30 09:42

And yet, due to the extra overhead of segmented transfers, the total speed across all users would just further decrease. The only solution for congestion is to buy bigger pipes.

Users need to stop throwing money at providers that don't invest in infrastructure.

Post Reply