run existing, working script from Korn

Advertisement

JohnV
Joined:
Posts:
1
Location:
NL

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

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum