Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 22544

BizTalk Sftp Receive Location cant get Attributes ( Event Log )

$
0
0

We are using BizTalk Server 2020 with a Receive Location ( Sftp Adapter - Winscp ), which downloads files from a Sftp Server.The Url we poll the files from is: sftp://://* ( so we poll all the files located in root directory ).

Every time we poll a file we receive following Event Log Warning:

The adapter "SFTP" raised an error message. Details "Microsoft.BizTalk.Adapter.Sftp.SftpAdapterException: Failed to delete file '/File' from the SFTP server. ---> WinSCP.SessionRemoteException: Can't get attributes of file '/File'.No such file or directory.Error code: 2Error message from server: The message [/File] is not extractable!   at WinSCP.SessionLogReader.Read(LogReadFlags flags)   at WinSCP.ElementLogReader.Read(LogReadFlags flags)   at WinSCP.SessionElementLogReader.Read(LogReadFlags flags)   at WinSCP.ElementLogReader.Read(LogReadFlags flags)   at WinSCP.ElementLogReader.ReadToEnd(LogReadFlags flags)   at WinSCP.Session.DoGetFileInfo(String path)   at WinSCP.Session.GetFileInfo(String path)   at Microsoft.BizTalk.Adapter.Sftp.SftpFileReceiver.DownloadComplete(String fileName, Boolean deleteFile)   --- End of inner exception stack trace ---

It seems like the Sftp Server does not support operations including attributes.

I would like to avoid these kind of warnings by ignoring them ( within Receive Location or WinScp ) although the files are received successfully.Is there a dedicated suppress setting for it?Are there any other ways to avoid this kind of warning except fixing it on Sftp Server?

In WinScp there is only a setting for upload options but not for download:enter image description here


Viewing all articles
Browse latest Browse all 22544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>