dynamicweb / CLI

CLI for Dynamicweb 10 automation in development, builds and deployment scenarios
4 stars 2 forks source link

Adding option to create directory if it doesnt exist when uploading files #25

Closed frederik5480 closed 6 months ago

frederik5480 commented 1 year ago
nicped commented 1 year ago

Would'nt it be better to change the Upload endpoint of the DataController in Dynamicweb 10 project?

Simply ensure that the file path exists, and if not, create it?

image

frederik5480 commented 1 year ago

I considered that as well but wasn't sure the amount of changes we would want to do on the upload endpoint. If anything, I would propose we add a query parameter for the purpose on the endpoint we can use. I will create a PR for that and close or change this as needed once changes has been merged and released.