Hi,
I noticed unexpected behaviour, when I was sending a number of files to the SSH server, each file with a size approx. equal to 35 kB.
Every file on the destination machine was truncated to 16384 kB.
When i set BufferSize property to 32716 on the SftpClient object and then called the UploadFile method on that object, every file transferred to the SSH server was truncated to 32716 kB.
I'm using OpenSSH server v. 6.1p1.
This has not happened, (not so often at least) when I ran the library in the debug mode. Perhaps when the runtime hits the breakpoint, any particular thread has a chance to finish which is not the case in the release mode.
I'm not sure what else I could provide to help you trace the problem.
Can I have some advice on this? Perhaps I'm using wrong patter to send files to the remote server.
Regards,
Martin.
I noticed unexpected behaviour, when I was sending a number of files to the SSH server, each file with a size approx. equal to 35 kB.
Every file on the destination machine was truncated to 16384 kB.
When i set BufferSize property to 32716 on the SftpClient object and then called the UploadFile method on that object, every file transferred to the SSH server was truncated to 32716 kB.
I'm using OpenSSH server v. 6.1p1.
This has not happened, (not so often at least) when I ran the library in the debug mode. Perhaps when the runtime hits the breakpoint, any particular thread has a chance to finish which is not the case in the release mode.
I'm not sure what else I could provide to help you trace the problem.
Can I have some advice on this? Perhaps I'm using wrong patter to send files to the remote server.
Regards,
Martin.