Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Azure FX .Net Core C# GetFile Stream fails: WinSCP.StdOutException: 'Unexpected data'

Please post both debug and session logs (Session.SessionLogPath and Session.DebugLogPath).
martysupple

Azure FX .Net Core C# GetFile Stream fails: WinSCP.StdOutException: 'Unexpected data'

Trying to stream download a 2.5gb zip file via SFTP from an Azure FX .Net 8 project using WinSCP 6.3.4
Exception thrown in Session:
if (_throwStdOut && _process.StdOut != null && _process.StdOut.ReadAvailable(1))
{
   Logger.WriteLine("Got data");
   throw new StdOutException();
}

Seems when looking for "download" element in XML file?