Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Serv-U Managed File Transfer & Serv-U FTP Server > SFTP transfer slower than FTP

SFTP transfer slower than FTP

Table of contents
Created by Pamela Pineda, last modified by Pamela Pineda on Jun 23, 2016

Views: 537 Votes: 1 Revisions: 4

Updated June 21, 2016

Overview

This article provides brief information on SFTP transfer and the reason it is slower when compared with FTP.

 

Environment

Serv-U MFT versions

Detail

SFTP is slower compared to FTP as the maximum size of the packets is dictated by the protocol itself. Each packet in SFTP is encrypted before being written to the outgoing socket from the client which is decrypted when received by the server. This of-course leads to slow transfer rates but very secure transfer. Generally, the speed depends on the protocol, and the more security is applied the slower it is.

 

SFTP transfers are not streamed like FTP or HTTP transfers.  They're chunked with the client opening a remote file and requesting it in chunks (no larger than 32K at a time).  After each read request, the server replies with the chunk and the client issues another.  When you request a chunk beyond the end of file, you either get a partial chunk or a response from the server indicating you've reached the end.  That's how a download is done.

 

Some SFTP client make "x" requests at a time making the transfer faster while some sftp client issues one request at a time. This is how they're attaining faster transfer speeds.  Serv-U is constantly retrieving and sending data to the client reducing the amount of time that's spent with no data being sent.  The trick in this method is that chunks of data may arrive out of order.  So the client must perform writes to the file according to the window of the file that the original request corresponds to.

 

If you are looking for faster transfer speed, it is best to use FTPS which is also secured.

 

 

Last modified

Tags

Classifications

Public