script fails without feedback

Advertisement

eflat
Joined:
Posts:
2
Location:
sac, ca

script fails without feedback

I'm launching my script from the command line like this:
"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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: script fails without feedback

What if you run
"C:\Program Files\WinSCP\WinSCP.com" /script=winscp-www.txt    
from cmd.exe console window?
_________________
Martin Prikryl

Reply with quote

eflat
Joined:
Posts:
2
Location:
sac, ca

Thanks...I see the following:
/$ "C:\Program Files\WinSCP\WinSCP.com" /script=winscp-www.txt 
500 Unknown command.    

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
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

Reply with quote

Advertisement

You can post new topics in this forum