Re: Return error code value = 1
I'm not sure what you mean. WinSCP .NET assembly does not have any exit codes.
With the assembly, you know whether an exception is thrown by
If you mean WinSCP scripting, it indeed has only 0 and 1 exit codes.
https://winscp.net/eng/docs/scripting#result
With the assembly, you know whether an exception is thrown by
Session.Open
or Session.PutFiles
.
If you mean WinSCP scripting, it indeed has only 0 and 1 exit codes.
https://winscp.net/eng/docs/scripting#result