Hi, I have the requirement to create numerous ‘upload directories’ in addition to the ‘Main Upload Directory’.
I had begun by placing these new directories within the ‘Main Upload Directory’ - below is the server path and url for the main
/var/www/vhosts/ourdomain.co.uk/httpdocs/images/uploads/
http://www.ourdomain.co.uk/images/uploads/
I created a new directory named ‘Competition Uploader’ and placed it in the FTP folder and also created it within the file upload preferences in the EE control panel too - path and url below
/var/www/vhosts/ourdomain.co.uk/httpdocs/images/uploads/competition_uploader/
http://www.ourdomain.co.uk/images/uploads/competition_uploader/
I am also using Solspaces Freeform to enable people to upload images to this folder for a competition, however when trying to upload we are presented with an error. Below is the header for the Freeform where you’ll see I have specified the directory as ‘Competition Uploader’ as opposed to the standard ‘Main Upload Directory’
{exp:freeform:form form_name="competition_uploader" template="competition_uploader" file_upload ="Competition Uploader" notify="[email protected]" send_attachment="yes" return="thank-you/offer" }Have also tried moving the folder outside the main folder and in the upper level and also top level too, but still doesnt work.
Am I missing something?
Any help would be most grateful.