Topic "Error 9009"

Author Message
Devise
[View user's profile]

Joined: 2011-07-13
Posts: 1
Location: Brussels
Hi,
When I execute my script, I get a errorlevel 9009.
Have you info about this error
Regards
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
There's no error level 9009 in WinSCP. What are you doing actually?
_________________
Martin Prikryl
Gary Lee

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks for sharing your findings!
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License