Error 9009

Advertisement

Devise
Joined:
Posts:
1
Location:
Brussels

Error 9009

Hi,
When I execute my script, I get a errorlevel 9009.
Have you info about this error
Regards

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,426
Location:
Prague, Czechia

Re: Error 9009

There's no error level 9009 in WinSCP. What are you doing actually?
_________________
Martin Prikryl

Reply with quote

Gary Lee
Guest

WinSCP batch job ends with Reason Code 9009

A question was asked about WinSCP Error Code 9009, to which the reply was given that WinSCP does not have an error code 9009. After receiving this code myself I did a bit of research. The code is apparently not from WinSCP itself, but rather from the underlying development product library (.NET ?), and indicates a malformed path for an error output file, causing the output file to not be found. In my case this was a redirected log output in a batch script that had run each day for quite some time, which implies that the error can be caused by an intermittent situation.

Example excerpt:
set /p RUNDATE=Enter text for RUNDATE (with no spaces):
<entered 20150219>

set LOGGING=C:\Production\SFTP_Servers\BALANCING\Logging
set BASE=C:\Production\SFTP_Servers\ClientA
set SFTPSCRIPTS=C:\Production\SFTP_Servers\Balancing\Windows_Scripts

winscp.com /script="%SFTPSCRIPTS%\SFTP_Script.txt" /parameter "%BASE%" >> %LOGGING%\%RUNDATE%.log

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,426
Location:
Prague, Czechia

Re: WinSCP batch job ends with Reason Code 9009

Thanks for sharing your findings!
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum