Skip to content

Create directories when filename contains a path

Darby Frey requested to merge fixes-filename-with-path-download-bug into main

This MR fixes a bug that was reported in feedback#5 (closed).

With this change the downloader will create the necessary directories when a file's name contains a path in the filename. So for example, if a file is called profiles/appstore/AppStore_bundle.identifier.mobileprovision it will create the profiles/appstore folders before attempting to write the file.

@hswimelar would you mind reviewing the changes here and let me know if you have any feedback or concerns? Thanks!

Merge request reports