studio-b12 / gowebdav

A golang WebDAV client library and command line tool.
BSD 3-Clause "New" or "Revised" License
309 stars 89 forks source link

Wrong content of uploaded file #30

Closed MrVine closed 5 years ago

MrVine commented 5 years ago

Hello Collaborators, During testing current version of gowebdav/cmd I notice that uploaded file has incorrect content if function getStream() can not find required file to open.

Software

To Reproduce

Expected File not found error returned

Actual Application uploads file with it's path as content