When this issue occurs, you may receive one of the following error messages:
This issue occurs in both Microsoft BizTalk Server 2013 and BizTalk Server 2013 R2.
- The adapter "SFTP" raised an error message. Details "System.Exception: Message: Open remote file for read error.. Sftp Error Code: '3221488139'. Sftp Error message: 'The system cannot find the file specified.
'. ---> Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for read error.
at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.OpenRemoteFileRead(String fileName)
at Microsoft.BizTalk.Adapter.SftpInvoker.SftpFileReaderStream.Read(Byte[] buffer, Int32 offset, Int32 count)
at Microsoft.BizTalk.Adapter.Sftp.SftpFileReceiver.TryReceive(TimeSpan timeout, RequestContext& context) - The adapter "SFTP" raised an error message. Details "System.Exception: Message: Delete file error.. Sftp Error Code: '3221488134'. Sftp Error message: 'The system cannot find the file specified.
'. ---> Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Delete file error.
at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.DeleteRemoteFile(String filename)
at Microsoft.BizTalk.Adapter.Sftp.SftpFileReceiver.DownloadComplete(String fileName, Boolean deleteFile)
--- End of inner exception stack trace ---
at Microsoft.BizTalk.Adapter.Sftp.SftpFileReceiver.DownloadComplete(String fileName, Boolean deleteFile)
at Microsoft.BizTalk.Adapter.Sftp.SftpRequestContext.Reply(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.Reply(MessageRpc& rpc)".
This issue occurs in both Microsoft BizTalk Server 2013 and BizTalk Server 2013 R2.