Topic "Invalid access to memory message after using close command i"

Author Message
Guest




Hi,

I have a script that copies log files from 3 servers and appends them. The script appears to work, but I get an "invalid access to memory" when a session ios closed.

The command line is winscp /console /script=copy.scp

Script File copy.scp

option batch off
option confirm off

open "messenger - tsmyt@tmrp0028"
get CREDIT_TUX_SERVER_18082010.perf
close

open "messenger - tsmyt@tmrp0029"
get -append CREDIT_TUX_SERVER_18082010.perf
close

open "messenger - tsmyt@tmrp0030"
get -append CREDIT_TUX_SERVER_18082010.perf
close

exit

Copy and paste of console window for the first session from open "messenger - tsmyt@tmrp0028" until first close command:

batch off
confirm off
Opening tunnel...
Searching for host...
Connecting to host...
Authenticating...
Using username "tsmyt".
Authenticating with pre-entered password.
Authenticated.
Connecting through tunnel...
Searching for host...
Connecting to host...
Authenticating...
Using username "tsmyt".
Authenticating with pre-entered password.
Authenticated.
Starting the session...
Reading remote directory...
Session started.
Active session: [1] Messenger - tsmyt@tmrp0028
CREDIT_TUX_SERVER_1808201 | 1 KiB | 0.0 KiB/s | binary | 100%
No session.
Invalid access to memory

I am using winscp portable version 4.2.8 (Build 818) with XP service pack 3.

Regards

Terry Smyth
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Thanks for your post. This bug is being tracked already.
_________________
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