Error: WinSCP.SessionLocalException: Element "group" not found in the log file

Advertisement

timrox
Joined:
Posts:
2

Error: WinSCP.SessionLocalException: Element "group" not found in the log file

C# script in SSIS package
Uploading several files to S3
Line 6526 in WinSCPDebugLog file shows an XML GroupName but never finishes rest of XML.
Error: WinSCP.SessionLocalException: Element "group" not found in the log file
Log files and script attached
Thank you for your help.
  • LogsAndScript.zip (110.92 KB, Private file)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
34,943
Location:
Prague, Czechia

Re: Error: WinSCP.SessionLocalException: Element "group" not found in the log file

Your actual problem is this:
Exception: System.TimeoutException: Timeout waiting for WinSCP to respond
You get the other exception only because you swallow the original one and try to call PutFiles once again over a timeouted session.
You get the timeout because you are transferring huge files. Set longer Session.Timeout.

Reply with quote

Advertisement

You can post new topics in this forum