Hi, I am developing tools for our company's server farm monitoring - to ease the job of the operators.
One of the things we need to do sometimes, is retrieve the certain event logs from servers.
So far people would use WinSCP manually.
winscp.exe /ini=C:\WinSCP.ini" SessionName1 /console /command "cd /home/username1/logs/uut/MN00093\IVT Gen2" "get event* c:\tmp"
Then, in the command line window, I get something like:
Too many parameters for the command 'cd'.
And of course, then it would (or would not..) copy entirely different files since it didn't change to the folder with space in it...
I have tried everything I could think of... I tried doing
to escape the space, I tried the web standard of
- nothing works.
WinSCP version is 4.1.8 build 415.
Is there a workaround to this? if not this really needs some fix please.. asap :)
Also - one more question please: how do I specify actions other than the
parameter? so I can customize the actions via the command line parameters too :)