Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: run existing, working script from Korn

You have Korn shell on Windows?
JohnV

run existing, working script from Korn

Hi there,
is there a way to run a WinSCP.com script that works (as a custom command) from a Korn Shell script, in any way?

situation:
i have a cleanup Korn Shell script that generates a archiveYYYYMMDD.gz file
i now copy it accross with a custom command, but it would be nice to kick off the custom command by running any (external) command to run the same script (custom command)

script:
open "HOSTfromSessionList"
get /path/archive*.gz "A:\gZipFolder\"
exit
custom command:
"C:\Program Files\WinSCP\winSCP.com" /script:a:\WinSCP\getACCgZipData.script