Topic "process not reading script file"

Author Message
ebusiness

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
There's a minor bug in WinSCP preventing it finding the script file in working directory. Try to specify full path to the file.
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License