When uploading a file to a directory that the user doesn't have permission to write to, the winrm transport hides any failures and incorrectly returns as though the operation were successful.
This appears to be an issue with the underlying winrm-fs library.
When uploading a file to a directory that the user doesn't have permission to write to, the winrm transport hides any failures and incorrectly returns as though the operation were successful.
This _appears_ to be an issue with the underlying winrm-fs library, so we may need to submit a fix upstream. It could also be something in the way we set up the connection / powershell session.