Hi, the right way to set the upload path is through the shortcode.
Is your upload path outside wp-content folder?
Regards
Nickolas
I am also having this issue.
I want the upload path to be outside the wp-content folder, directly off the root domain
example.com/file.txt
How can I configure the plugin to do this?
If you set uploadpath like this:
uploadpath=”../”
it will save to the root of your website, at the same level like wp-content, wp-admin and wp-include folders.
Is this what you want?
Regards
Nickolas
I have the same problem, I have tried in all possible ways to upload the files (photographs) to a custom folder, I have disabled the wordpress option to upload to folders by date, I tried to use the access by ftp (which does not it works either) I am trying to use the folder / uploads / photos but when I upload successfully the files are located in / uploads / although I have verified many times the shortcode that is consistent with that path to save e.g. [wordpress_file_upload uploadpath = “/ uploads / fotos” …. or [wordpress_file_upload uploadpath = “uploads / fotos” I have tried all the possible ways but always keep them in wp-content / uploads, I also tried to create a folder in wp -contents / photos but it does not work either, what can be the solution?
regards and thanks
Hi, can you please remove spaces from uploadpath and try again?
Regards
Nickolas
Hi, please set Allowed File Extensions like this: *.coa
Try again and let me know.
Regards
Nickolas
Thanks, Nickolas. It still says the folder doesn’t exist, when indeed it does. No typos.
See images above as I haven’t changed the folder. Strange!
What are the permissions of that folder?
Nickolas
File permissions did seem to fix it. Now the issue is this:
Why would this path work:
[wordpress_file_upload uploadpath=”../ssgbbcf/exports” uploadrole=”administrator,contributor,editor,author,subscriber” uploadpatterns=”*.coa” maxsize=”99999999999999999999999999999″ forcefilename=”true” adminmessages=”true”]
But not this one:
[wordpress_file_upload uploadpath=”../ssgfbcb/exports” uploadrole=”administrator,author,contributor,editor,subscriber” uploadpatterns=”*.exp” maxsize=”99999999999999999999999999999999999999999999999999″ forcefilename=”true” adminmessages=”true” debugmode=”true”]
Hi, maybe it is not a problem of the folder. Extension .exp is by default blacklisted, because it may impose security risks.
There is a way to overcome this restriction by adding the following code at the end of functions.php file of your theme:
global $wfu_extension_blacklist;
if ( isset($wfu_extension_blacklist["exp"]) ) unset($wfu_extension_blacklist["exp"]);
Nickolas
Hi Nickolas,
Using Filezilla, I downloaded the functions.php file from my themes folder (the editor is not available in this theme it seem). I added that line at the very bottom, saved it, and uploaded it back to the same folder on the server.
When I refreshed the website, nothing worked as in the entire website couldn’t be found.
Did I do something wrong?
Was there a ?> symbol at the end of the file before your edit it?
If yes, then the script must be added before that symbol, like this:
global $wfu_extension_blacklist;
if ( isset($wfu_extension_blacklist["exp"]) ) unset($wfu_extension_blacklist["exp"]);
?>
Nickolas
No, there isn’t. What else could I try?
The website is down now?
Perhaps something broke in functions.php file.
Can you send it to me to check at nickboss@iptanus.com ?
Nickolas