Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Invalid Access to Memory

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.

Invalid Access to Memory

I have been using a powershell script that calls out to a winscp script to move files to and from Sharefile. That powershell script is in turn set up as an action through Task Scheduler and runs every five minutes. At the end of last month I started to experience random files not being uploaded to ShareFile. Not all uploads and downloads are effected by this, but enough to have me start digging into the issue. There was no pattern to the missing files, but when I reviewed the logs I noticed "Invalid Access to Memory".

<?xml version="1.0" encoding="UTF-8"?>
<session xmlns="" name="ShareFile" start="2020-02-27T16:05:02.465Z">
<message>Invalid access to memory</message>

Sometimes I would have this appear after a string of successful downloads and/or uploads.
<filename value="/SFTP Sites/RVH/Files for ARS/inv_ars_20200226.txt" />
<result success="true" />
<message>Invalid access to memory</message>

I have been reviewing some of the other forum posts and found that this may be related to a bug in the version of WinSCP. I am currently using Version 5.1.7(Build 3446). Is there any other information that I can provide to help resolve this issue?