Archived Forum Post

Index of archived forum posts

Question:

SFTP VB.NET 2.0, UploadFile Resume

Jan 31 '14 at 03:35

Hi,

We're having trouble uploading a large file (17 MB) to a remote server using the UploadFile method. They are requesting that we turn off the "resume feature" in our SFTP client. We could not find a "resume feature" in ChilKat. Does the UploadFile method automatically send the file in peices for larger files and do a resume intrinsically?

We currently are running version 9.3

The error we are seeing is: "System.AccessViolationException: Attempted to read or write protected memory."

Thank you, Andy


Answer

I would recommend first downloading and testing with the latest version of Chilkat (v9.4.0)

If the access violation continues, please let me know.

Maybe your counter-party is confusing the FTP protocol with SSH/SFTP? For clarification:

"SFTP" is the Secure File Transfer Protocol over SSH. It is a protocol unrelated to the FTP protocol. The Chilkat SSH / SFTP component is used for "SFTP". SFTP is achieved by connecting to an SSH server at port 22.

On the other hand, the Chilkat FTP2 component is for FTP. FTP servers listen at port 21 (non-SSL/TLS) and port 990 (SSL). FTP over SSL (i.e. port 990) is called "FTPS".