I would like to create a Document Type that for one of the properties it has a media picker, but for that media picker I would like to be able to dictate that the upload path is outside my wwwroot and not save in the media folder. Is there something like this that already exists or could somebody point me in the correct direction to tutorials/helpers on this subject?
For example on my hosted domain I have \\PDC3\sites\a\apple.com\public_html which is the served folder but I want to upload to \\PDC3\sites\a\apple.com\media_store which will allow me to server controlled media where the user needs to be logged in.
You can also try setting up the media folder as a virtual directory in IIS, and point it to wherever you like. We do this pretty often with no problems. There were some issues in earlier versions of Umbraco but if you're post 4.8.1 or so you should be fine.
Media upload - path outside wwwroot
Hi,
I would like to create a Document Type that for one of the properties it has a media picker, but for that media picker I would like to be able to dictate that the upload path is outside my wwwroot and not save in the media folder. Is there something like this that already exists or could somebody point me in the correct direction to tutorials/helpers on this subject?
For example on my hosted domain I have \\PDC3\sites\a\apple.com\public_html which is the served folder but I want to upload to \\PDC3\sites\a\apple.com\media_store which will allow me to server controlled media where the user needs to be logged in.
Thanks,
Richard
Have a look at ucomponents(i think thats the right name), i am sure that is something in that package that you can use to do this. Charlie :)
Hi Richard,
You can also try setting up the media folder as a virtual directory in IIS, and point it to wherever you like. We do this pretty often with no problems. There were some issues in earlier versions of Umbraco but if you're post 4.8.1 or so you should be fine.
-Tom
is working on a reply...