EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTP Client upload always 32K chunks

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
Posted: 03/19/2014 17:55:23
by Ronald Peters (Standard support level)
Joined: 02/21/2014
Posts: 9

I'm using the SFTP client to upload large files to a server. This particular server has a limit on the number of transactions per second, therefore, I would like to have as large a chunk as possible to get the most out of each transaction.

But no matter how I set the buffer sizes (UploadBlockSize and SftpBufferSize), the chunks are always 32K. This is what I see in the OnProgress handler.

How do I truly increase the size of the buffers so I can maximize my throughput?

SBB 11.0.245 and 11.0.248

Posted: 03/19/2014 18:18:46
by Ken Ivanov (EldoS Corp.)

Hello Ronald,

Please set AutoAdjustTransferBlock to false to make the component get use of your custom block size values.
Posted: 03/19/2014 19:40:41
by Ronald Peters (Standard support level)
Joined: 02/21/2014
Posts: 9

Thanks, Ken. That was it!



Topic viewed 524 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!