Topic "4.0.3 and scripting issue"

Author Message


This script worked fine in 3.82 on another box, but on this box, running 4.0.3 I get a host not found problem every time I try to run it:

option batch on
option confirm off
option transfer binary
put c:\test.txt

running with the command line:
winscp.exe /script=c:\script.txt

When watching it it appears to be trying to connect to /script as the host instead of what is in the script. If I change it to do something like:
winscp.exe /script=c:\script.txt

it will connect fine to the host, but it will not run the script.

Something change in the 4.x code that I missed, or am I just going crazy here?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
For me it works fine. Can you post a log file?
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License