I'm having an issue with my powershell script for the past few days. I'm getting this error:
Exception calling "GetFiles" with "4" argument(s): "Timeout waiting for WinSCP to respond"
+ $transferResult =
+ CategoryInfo : NotSpecified: (:) , MethodInvocationException
+ FullyQualifiedErrorId : TimeoutException
It was ok before and when I try to use batch script to download it is ok, so its not the servers or the connection.