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: process not reading script file

There's a minor bug in WinSCP preventing it finding the script file in working directory. Try to specify full path to the file.
ebusiness

process not reading script file

I am not able to get winscp to recognize the script file. It comes to the console prompt and just sits there.

command line
C:\Progra~1\WinSCP3\winscp3.exe /console sftp://testuser@sshftp.tstserver.com /privatekey=private_key.ppk /script=scrpt.txt /log=ftp.log

script file contains this
option batch on
option confirm off
prompt
bin
put SSHF_ACH_PAYRLR_NCFR5LN
bye