EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTP Client upload always 32K chunks

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#28847
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

Regards,
Ron
#28848
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.
#28849
Posted: 03/19/2014 19:40:41
by Ronald Peters (Standard support level)
Joined: 02/21/2014
Posts: 9

Thanks, Ken. That was it!

Reply

Statistics

Topic viewed 481 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!