Posted: 2010-01-18 15:36
I'm using winscp in script mode.
I'm trying to get the return code (errorlevel) in a batch file.
But, while opening the session, I get:
failed with return code 127 and error message
-ash: groups: not found.
So, each time, I get errerlevel=1, although, for exemple, the "put" command is correctly performed.
In GUI mode, it's possible to uncheck "lookup user groups".
Is there a way to do the same thing in script command line to skip the "groups" command?
I read the documentation, but nothing in script mode.
I tried on another server (which hosts the "groups" command and I got errorlevel=0 (as expected).
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
You can post new topics in this forum
And it's free!