Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

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: 281 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
11:56, 23 Jun 2016

Tags

Classifications

Public