Question:
There is an example of downloading a file using streaming (which I can use for progress bar) but there is no example on how to upload with streaming.
I have tried several different things but nothing seems to work. Can someone tell me how to upload a file using streaming and SFTP? I am using VB.net
The upload sample code would be the same as the download, except for the arguments passed to OpenFile for the createDisposition and access (see the Chilkat VB.NET reference documentation for SFTP here: http://www.chilkatsoft.com/refdoc/vbnetSFtpRef.html )
Also, you would write a loop to read chunks from your local file and instead of calling ReadFileBytes, you would call WriteFileBytes.