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.

Options
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)

Options

Topic review

swe9

Re: Invalid Memory Access using script at Master Password prompt

That should have been posted as user swe9.
Guest

Invalid Memory Access using script at Master Password prompt

I have been beating my head against the wall trying to get this program to accept a script and do the right thing. I've had various forms of NO LUCK, but now running the script gives the "Invalid Memory Access" error right after printing the "Master Password:" prompt. Your help said to file a bug, so here it is.

The script test.scp is very simple:

option batch on

option confirm off
open sftp://user:pwd@example.com
\

Here's the command and output:

CMDPROMPT>"c:\program files\winscp\winscp.com" /script test.scp
Master password: Invalid access to memory
CMDPROMPT>

Check for updates says I have the latest version (4.2.7)
Win XP SP3


P.S. I had been getting the error where it claims there's no host. I added the -hostkey option to my open command in an attempt to get past that error and this symptom appeared just after that. This really *should* be much easier than it's been. It would help if there were some clues in the output about how to resolve the problems.