Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

When this issue occurs, you may receive one of the following error messages:

  • 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)".

Note Error code '3221488139' equals 0xC004020B; error code '3221488134' equals 0xC0040206.

This issue occurs in both Microsoft BizTalk Server 2013 and BizTalk Server 2013 R2.

Cause

This issue occurs because during directory listing (ls), the SFTP adapter (SFTP client) sends the SSH_FXP_OPENDIR packet and expects the SSH_FXP_HANDLE packet according to SFTP version 3. But some servers, for example, Maverick-based servers, send back the SSH_FXP_STATUSĀ (error occurred) packet. The SFTP server is expecting the optional SSH_FXP_REALPATH packet before the OpenDir packet.

Resolution

Cumulative update information

This issue was first fixed in the following cumulative update of BizTalk Server:

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For information about the service packs and cumulative update list for BizTalk Server, see KB 2555976: Service pack and cumulative update list for BizTalk Server.

For more information about BizTalk Server hotfixes, see KB 2003907: Information about BizTalk hotfixes and cumulative update support.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×