SessionRemoteException class questions
The “Properties” link on the documentation page (https://winscp.net/eng/docs/library_sessionremoteexception#properties) seems to be broken. It doesn’t show any properties.
Would a
If I knew the cause was “directory not found,” I’d create the directory, then retry the
Could you perhaps add a code example on the
Would a
SessionRemoteException
be thrown if a PutFileToDirectory
call fails due to the remote directory not existing? How would one determine that was the cause?
If I knew the cause was “directory not found,” I’d create the directory, then retry the
PutFileToDirectory
call. Currently, I can't do that, because I don't know the reason for the exception.
Could you perhaps add a code example on the
PutFileToDirectory
page showing your recommendation on how to handle a SessionRemoteException
being thrown?