Topic "run existing, working script from Korn"

Author Message
JohnV
[View user's profile]

Joined: 2012-03-07
Posts: 1
Location: NL
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You have Korn shell on Windows?
_________________
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