Symptoms
Assume that you use the SFTP adapter to download files and the Retain After Download option is set to True. When the SFTP servers are configured to automatically delete files after the transfer, as might happen with Managed File Transfer (MFT) solutions that use SFTP, the following event is written to the event log after each transfer:
[Sftp] SftpFileReceiver.DownloadComplete: FileName: <FileName>, Exception; will delete remote file later: WinSCP.SessionRemoteException: Can't get attributes of file '<FileName>'.No such file or directory.Error
[Sftp] SftpFileReceiver.SetErrorInfo: Raising event log for exception: Microsoft.BizTalk.Adapter.Sftp.SftpAdapterException: Failed to delete file '<FileName>' from the SFTP server. ---> WinSCP.SessionRemoteException: Can't get attributes of file '<FileName>'.No such file or directory.Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Resolution
This problem is fixed in the following cumulative update for BizTalk Server:
References
For information about the service packs and cumulative update list for BizTalk Server, see the following article in the Microsoft Knowledge Base:
2555976 Service pack and cumulative update list for BizTalk Server
For more information about BizTalk Server hotfixes, see the following article in the Microsoft Knowledge Base:
2003907 Information about BizTalk hotfixes and Cumulative Update support