Re: Writing a script in a batch file to fetch files from SSH
Do I have to write the script some where in WinSCP?
You need to pass it to WinSCP using /script parameter. Please read documentation .
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Do I have to write the script some where in WinSCP?
I have no idea what you are doing. You need to execute the script via WinSCP, not directly (or whatever you are doing)!
Have written the following code. But it does not seem to get the files from the server to my local machine.
And what does it do?
Have written the following code. But it does not seem to get the files from the server to my local machine.