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

martin

Re: Password issues

Please read FAQ. If that does not help, come back.
gcushing

Password issues

I have a winscp script I need to get working. For some odd reason the password will not authenticate via script!

It will work via a winscp gui, manually entered in cli or any way else other then what I have.

So here is my script. Any ideas would be greatly appreciated.



# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off

# open user:password@example.com
open msbackup:aISN+S2c@someserver

# Change remote directory
cd /e5:87:40:da:21:17:4a:06:56:66:17:90:cd:c3:05:b1/

# Force binary mode transfer
option transfer ascii

get ms_autosave.sys.V7.0.00_SU24_P86.01.gz C:\EMS\



# Disconnect
close
exit