You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
This may be able to be a non-issue, but I was expecting that when I passed a directory location that did not yet exist, the directory would get created and the zip would still get output to that path.
err := archiver.Zip.Make(outputPath, files)
Instead, it returns an error:
error creating [outputPath]: open [outputPath]: The system cannot find the path specified.
I created the output directory structure and the previous code worked fine.
When zipping using a desktop application, you can provide an nonexisting output path and the directories will be created for you. So, who should be the owner of creating the directories?
I'm on Win10 x64
The text was updated successfully, but these errors were encountered:
kevlut
changed the title
Zip output path set to non-existing directory fails
Zip output path set to non-existing directory casues failure
Mar 22, 2018
This may be able to be a non-issue, but I was expecting that when I passed a directory location that did not yet exist, the directory would get created and the zip would still get output to that path.
Instead, it returns an error:
I created the output directory structure and the previous code worked fine.
When zipping using a desktop application, you can provide an nonexisting output path and the directories will be created for you. So, who should be the owner of creating the directories?
I'm on Win10 x64
The text was updated successfully, but these errors were encountered: