Topic "Exit code 250477278"

Author Message
roonz
[View user's profile]

Joined: 2009-09-10
Posts: 3
Location: Sydney
Problem with scripting in WinSCP v 4.2.4 Beta. Last night I received Exit Code 250477278. What causes this? The one script is run from SSIS and was working fine for a number of days. When I recieved this error I tried running the batch file that is used to launch the script and it returned the same error. We also received "false positives" from another process at the same time. i.e. was reporting success when in fact it was failing.

Process Exit Code 250477278.
O/S is WIN2k3 64BIT.
Script file below.

# Automatically answer all prompts so as not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
open UID:PWD@ip:PORT -hostkey="blah"
# Change remote directory
cd /Home/Artis/Incoming_from_Artis/Crawl_Data
# Force binary mode transfer because if we use ascii, the pading and spaces are removed. We lose pretty print on files
option transfer binary
# Upload file to the remote directory
put -preservetime "C:\Program Files\Artis Group\Weather Channel ETL\Rawfiles\Outputs\Outgoing_To_TWC\Crawl_Data\*.*"
ls

#now put up the flag file
cd /Home/Artis/Incoming_from_Artis/Misc
put -preservetime "C:\Program Files\Artis Group\Weather Channel ETL\Rawfiles\Outputs\Outgoing_To_TWC\Crawl_DataFlag.txt"


# Disconnect
close
# Exit WinSCP
exit

BATCH FILE
rem @ECHO OFF
REM Comments: Add /console to see the console if debugging
date /t > "C:\Program Files\Artis Group\Weather Channel ETL\Rawfiles\Outputs\Outgoing_To_TWC\Crawl_DataFlag.txt"
time /t >> "C:\Program Files\Artis Group\Weather Channel ETL\Rawfiles\Outputs\Outgoing_To_TWC\Crawl_DataFlag.txt"
dir "C:\Program Files\Artis Group\Weather Channel ETL\Rawfiles\Outputs\Outgoing_To_TWC\Crawl_data" >> "C:\Program Files\Artis Group\Weather Channel ETL\Rawfiles\Outputs\Outgoing_To_TWC\Crawl_DataFlag.txt"
"C:\Program Files (x86)\WinSCP\winscp.exe" /console /script=C:\TWC\SFTP1CrawlScript.txt /log=C:\TWC\winscp_CRAWL_SFTP1.TXT
rem echo %ERRORLEVEL% > C:\TWC\ERROR.LOG
rem pause
rem cls
rem exit
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Do you have a log files?
_________________
Martin Prikryl
roonz
[View user's profile]

Joined: 2009-09-10
Posts: 3
Location: Sydney
prikryl wrote:
Do you have a log files?

Yes I can email them to you directly. Send me your email
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
roonz
[View user's profile]

Joined: 2009-09-10
Posts: 3
Location: Sydney
prikryl wrote:
You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.

Have sent email with logs.
ANDFCL

Guest


How did you solve the problem? I faced the same error in the same circumstances.
Tempo

Guest


Hello ,

I am receiving teh same error here. did we get a solution for this issue?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
_________________
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