Topic "4.0.3 and scripting issue"

Author Message
xnih

Guest


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
open somesite@somewhere.com
option transfer binary
put c:\test.txt
close
exit

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 someone@somehost.com /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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
For me it works fine. Can you post a log 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