Re: Very Large folder getting Timeout waiting for WinSCP to respond
NotSessionOptions.Timeout
! UseSession.Timeout
!
Perfect, that fixed it.
Thank you.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
NotSessionOptions.Timeout
! UseSession.Timeout
!
SessionOptions.Timeout
! Use Session.Timeout
!
TimeoutInMilliseconds = 120000
Exception calling "GetFiles" with "2" argument(s): "Timeout waiting for WinSCP to respond"
At E:\Scripts\MOS_DL.ps1:28 char:5
+ $session.GetFiles($SelectFiles, "E:\ITS_Archives\MOS\*").Check()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : TimeoutException