Support » Plugin: WordPress File Upload » How to make it only email attachment and not upload

  • Resolved Phillip Burger

    (@phillipburger)


    I tried a few options, but how do I get this to ONLY attach the file to me in email but not upload it. OR, how do I get it to upload it to a directory that is only accessible by administrators?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, if you want the file to be attached in the email, then it must be uploaded first. What you can do is then delete it from the website, however it requires some customization of the plugin so that it is done automatically.

    You can make the uploads accessible only to admin by doing the following:

    a. Define an upload path outside /uploads folder, e.g. /inbox
    b. Set inbox folder permissions to 0750. This will make the folder inaccessible from public.

    Regards

    Nickolas

    This works great, thanks for the quick input. I did have it already going to another folder but missed the 0750 piece – so that did exactly what I need. And then selecting your option of appending a timestamp since many people may upload the same file name.

    Plugin Author nickboss

    (@nickboss)

    Ok you are welcome.

    Regards

    Nickolas

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.