"Timeout waiting for WinSCP to respond"
I have a working powershell script running on a Windows 7 machine that is dedicated to scrips.
This script uploads a file from another server and uploads it to a 3rd party vendor.
I took the script and copied it to a Windows 2012 server. The script fails with "Timeout waiting for WinSCP to respond" as seen below. This log file (error) is generated through the powershell script.
Exception calling "PutFiles" with "2" argument(s): "Timeout waiting for WinSCP to respond"
At E:\path\upload\Upload.ps1:26 char:5
+ $session.PutFiles("\\HOSTNAME\path\FILEname.dat
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : TimeoutException
I can connect (via UNC) to the server that the file is located just fine. I can't figure out what configuration on the new server is causing this issue.
Any help is appreciated.
This script uploads a file from another server and uploads it to a 3rd party vendor.
I took the script and copied it to a Windows 2012 server. The script fails with "Timeout waiting for WinSCP to respond" as seen below. This log file (error) is generated through the powershell script.
Exception calling "PutFiles" with "2" argument(s): "Timeout waiting for WinSCP to respond"
At E:\path\upload\Upload.ps1:26 char:5
+ $session.PutFiles("\\HOSTNAME\path\FILEname.dat
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : TimeoutException
I can connect (via UNC) to the server that the file is located just fine. I can't figure out what configuration on the new server is causing this issue.
Any help is appreciated.