Topic "script fails without feedback"

Author Message
eflat
[View user's profile]

Joined: 2012-01-11
Posts: 2
Location: sac, ca
I'm launching my script from the command line like this:
Code:
"C:\Program Files\WinSCP\WinSCP.exe" /console /script=winscp-www.txt
And all I get is a flash of a window opening and closing. How can I tell what's happening?

If I start with winscp.com and enter in each line from my script file, they each run fine with no error or prompts. All I'm doing is connecting and getting one file.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
What if you run
Code:
"C:\Program Files\WinSCP\WinSCP.com" /script=winscp-www.txt

from cmd.exe console window?
_________________
Martin Prikryl
eflat
[View user's profile]

Joined: 2012-01-11
Posts: 2
Location: sac, ca
Thanks...I see the following:
Code:
/$ "C:\Program Files\WinSCP\WinSCP.com" /script=winscp-www.txt
500 Unknown command.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
What is "/$"? Looks like you are running WinSCP from *nix.
Can you posst your winscp-www.txt or WinSCP log file (use /log=logfilename switch).
_________________
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