login about faq

I used the example code sftp_write_nonblock.c provided in libssh2 site and tried to upload a large file(around 1 gb) to a Tectia SFTP server in Windows box, it failed around 300MB. This same program works fine with a linux SFTP server and the linux sftp client can write the same file to Tectia server too. This 300MB value is when the I call the sftp write with a 30000 sized data buffer. If I changed it to 1 the transfer get stuck at 11K, when the buffer is 2 then the transfer freezing size is 21K. In both ends connection is not ended but it waits without any progress. Could you all help me to figure out what is the problem with this Tectia - Libssh2 combination.

libssh2 - sftp_write_nonblock.c link text

asked Jul 30 '15 at 20:51

ismail's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jul 30 '15 at 20:51

Seen: 7,026 times

Last updated: Jul 30 '15 at 20:51

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.