Support » Plugin: Drag and Drop Multiple File Upload - Contact Form 7 » Change Upload Folder to Site Root Level?

  • Good Day All,

    This plugin is working flawlessly save for one thing. I have a requirement to change the upload folder to above the root of the site.

    I have dozens of WordPress microsites, so the file upload form might be at, somesite.com/microsite/fileuploadform and as such it will want to write files to somesite.com/microsite/wp-content/uploads/wpcf7_drag-n-drop_uploads/somefolder

    Now, I can change the name of “somefolder” above. I can change it to the date, or a random, but what I need to do is totally change the PATH of the upload folder, in this case all the way up to somesite.com/uploads.

    Is there some global variable I can set to change this path? I could version 999 the plugin and hard code it, but I’d prefer to leave the plugin the ability to update if at all possible given file upload scripts are likely to be updated a lot due to zero day vulnerabilities. And I could write a server level chron script to scrape the various different file upload locations and copy them, but that would also require a higher level of effort than I’d prefer.

    Thanks all, great plugin!!!

    • This topic was modified 1 month, 2 weeks ago by leifer.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.