SFTP Download Files Matching a Pattern

Question: I am trying your component to check if I can integrate it well in an application I need to transfer and manage files using SFTP over SSH. I’ve examined the samples and there’s one thing I’d like to do and cannot find it. Is it possible to read remote folder content but limited only to those items matching a […]

SFTP RemoveFile – File not found

Question: When trying to delete a file using SFTP with this line: success = sftp.RemoveFile(“out/” & fileObj.Filename) we get the error listed below: ChilkatLog: RemoveFile: DllDate: Feb 8 2009 UnlockPrefix: Anything for 30-day trial Username: IUSR_ABCD Component: ActiveX SshVersion: SSH-2.0-1.36 sshlib: GlobalScape SftpVersion: 3 hcCurDate: Wed, 18 Feb 2009 14:23:01 +1100 hcExpire: 4/2009 filename: out/abc123.edi StatusCode: 2 ErrorMessage: File not […]

SFTP Permission Denied on OpenFile

Question: I’m getting error after sftp.OpenFile() call OpenFile: DllDate: Nov 27 2008 UnlockPrefix: Anything for 30-day trial Username: chilkat Component: .NET 2.0 SshVersion: SSH-2.0-5.3.3.56 SSH Tectia Server SftpVersion: 3 hcCurDate: Fri, 28 Nov 2008 09:53:46 +0200 hcExpire: 1/2009 filename: sftp_test.txt access: writeOnly createDisposition: openOrCreate v3Flags: 0xa Sent FXP_OPEN [SSH] Received IGNORE message StatusCode: 3 ErrorMessage: Permission denied, file: sftp_test.txt SshLog: […]

ASCII Mode in SFTP? (Secure File Transfer over SSH)

SFTP is not in any way related to FTP. FTP is the “File Transfer Protocol” whereas SFTP is a subsystem of the SSH protocol. SFTP is a protocol for file transfer over SSH. (Not to be confused with “FTPS”, which is the FTP protocol over SSL/TLS.) Most people familiar with FTP know about transfer modes: binary and ASCII. A file […]