Topic "Invalid access to memory"

Author Message
[View user's profile]

Joined: 2015-01-07
Posts: 1
Location: St.Joseph, MI USA
Win XP machine with 1GB RAM.
WinSCP version

Invalid access to memory.

Please help us improving WinSCP by reporting the error on WinSCP support forum.
OK Help Report

I was testing a script running from MS Access, but had the GUI interface open with the log up to see if it would log my upload. I had the box checked to show ALL LINES. Probably a mistake, since it crashed. I was not running the script when it crashed, just trying to scroll back to see previous lines in the log.

Here is the script, although it doesn't appear that it was at fault.
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open  ftp://stonegate
# Change remote directory
cd /sgdadmin/www/customer/uploads
# Force binary mode transfer
option transfer binary
# XML log is created in "UploadLog.txt"
# Upload All SoStat.pdf to working directory
put M:\Reports\RepSOStatus\*SoStat.pdf
# Disconnect

# Exit WinSCP

The problem I was trying to fix is that MS Access will not parse the entire command string. It stops before it gets to the logging command:

"c:\Program Files\WinSCP\" /script="C:\Program Files\WinSCP\TestScript2.txt" /xmllog=UploadLog.txt

I think what I will have to do is create a batch file for Access to call, that contains the switches for WinSCP. That way Access won't get confused. BTW, I'm still waiting for the log viewer to refresh so I can disable it.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25748
Location: Prague, Czechia
Thanks for your report. Will try to reproduce the problem.

Btw, WinSCP cannot display a log of another instance.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License