Remote Command through script

Advertisement

pwalia
Guest

Remote Command through script

Hi,

I am using WinSCP version 3.7.6 with Norton interface. I have written a script to download files from a Windows 2003 server to my Windows XP m/c and I am invoking that through command line console as :

winscp376 Administrator@host /console /script=script.txt

I am able to do that successfully. But I also want to add that remote file into zip through pkzip that is instaleld on the remote server. I can do that through the GUI but I want to be able to do that through the script or command option. How can I do that ?
Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,070
Location:
Prague, Czechia

Re: Remote Command through script

Use command "call". Type "help call" to learn how.
_________________
Martin Prikryl

Reply with quote

Guest

Can you give an example of how to use this with WinSCP. The pkzip is installed on the remote m/c and that is where those files are.

Thanks

Reply with quote

Advertisement

You can post new topics in this forum