Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the --create-dirs option #35

Closed
ecampidoglio opened this issue May 6, 2019 · 1 comment
Closed

Support the --create-dirs option #35

ecampidoglio opened this issue May 6, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@ecampidoglio
Copy link
Member

It would be nice if Cake.Curl exposed the --create-dirs option when downloading a file from a remote host.

From curl's documentation:

When used in conjunction with the -o, --output option, curl will create the necessary local directory hierarchy as needed. [...] If the --output file name uses no dir or if the dirs it mentions already exist, no dir will be created.

Since this option only applies to downloading a file, it would make sense to add it to the CurlDownloadSettings type.

@ecampidoglio ecampidoglio added this to the 4.1 milestone May 6, 2019
@ecampidoglio ecampidoglio self-assigned this May 17, 2019
@ecampidoglio
Copy link
Member Author

Fixed in f09f146.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant