Re: Unable to run winscp script from Java App
Sorry for rising up such old post, but just in case if somebody else face this problem (as I did)...
I've got WinSCP runnig with /script parameter from Java this way:
Runtime.getRuntime().exec("cmd /c <full WinSCP file name> /script=<script filename>");
If I haven't used "cmd /c" script wasn't executed.
May be it will help somebody.
I've got WinSCP runnig with /script parameter from Java this way:
Runtime.getRuntime().exec("cmd /c <full WinSCP file name> /script=<script filename>");
If I haven't used "cmd /c" script wasn't executed.
May be it will help somebody.