This project has moved. For the latest updates, please go here.

sftp adapter cannot delete the file after polling

Mar 3, 2014 at 11:52 AM
Hi,

I am using bLogical sFTP adapter on BizTalk 2006 R2. I am getting this below error. The files are not being deleted from the sFTP location after polling. Could you please let me know what could be the possible reason for this issue.

Alert description: Event Description: Method: Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.Delete

Error: Unable to delete file [/mysftplocation/file].

Information:
Type: Blogical.Shared.Adapters.Sftp.SftpException
Target:
Message: Unable to delete file [/mysftplocation/file].

Stacktrace:

Type: Tamir.SharpSsh.jsch.SftpException
Target: Void rm(Tamir.SharpSsh.java.String)
Message: Exception of type 'Tamir.SharpSsh.jsch.SftpException' was thrown.
Stacktrace:
at Tamir.SharpSsh.jsch.ChannelSftp.rm(String path)
at Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.SshTransfer.Delete(String path)

at Blogical.Shared.Adapters.Sftp.SharpSsh.Sftp.Delete(String filePath)

Regards,
Ujjwal
Coordinator
Mar 3, 2014 at 11:44 PM
First thing I’d look in to would be permissions. Does your user (configured in the SFTP adapter) have the necessary privileges to delete the file. Please check the log of the SFTP server.

Mikael

Sent from Windows Mail