ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Creating New Upload Directories

February 03, 2011 7:47am

Subscribe [3]
  • #1 / Feb 03, 2011 7:47am

    Scott Harrington

    85 posts

    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.

  • #2 / Feb 04, 2011 3:22am

    John Henry Donovan

    12339 posts

    Scott,

    Have you made that new folder writeable with permissions of 777?

    What was the error?

    If you use your File Manager are you able to upload?

    If you are then you will have to use Solspace’s support as it looks then like an issue with Freeform itself

  • #3 / Feb 04, 2011 7:03am

    Scott Harrington

    85 posts

    always the simplest of things (”,) - I changed the permissions to 777 and it now works a treat.

    Thanks

  • #4 / Feb 05, 2011 12:48pm

    Greg Salt

    3988 posts

    Hi Scott,

    Glad that John Henry was able to help you with this. Please post back if you have further questions or problems.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases