i know it's been asked before but i got no answer.
is there a way to run the following without failing on the errors:
C:\Program Files\WinSCP>winscp.com scp://root:mypassword@HostIP:22 /script=c:\myscript.txt
Automatic actions are disabled when URL address is provided on command-line.
Searching for host...
Connecting to host...
Using username "root".
Authenticating with pre-entered password.
Starting the session...
Reading remote directory...
Error getting name of current remote directory.
failed with return code 0 and error message
: groups: not found.
Active session:  root@HostIP