WordPress File Upload

wordpress-file-upload-logo-large

WordPress File Upload is a WordPress plugin. It is the successor of Inline Upload plugin.

With this plugin you, or other users, can upload files to your WordPress website from any page by using shortcodes.

The plugins comes in two versions, professional and free. The professional version contains some additional features as described in detail below.

A screenshot of the plugin in its most simple form is shown below.

Wordpress File Upload plugin simple screenshot

Simply put the shortcode [wordpress_file_upload] to the contents of any WordPress page and you will be able to upload files to any directory inside wp-contents of your WordPress site.

The characteristics of the plugin are:

  • It does not use flash and handles uploads using various technologies (HTML5, AJAX, classic HTML forms) depending on browser’s capabilities, which detects automatically. As a result it can work in any browser, including mobiles phones (even old ones).
  • You can have more than one instances of the shortcode in the same page.
  • It supports multiple file uploads (Professional version).
  • It supports drag and drop of files (Professional version).
  • It can upload files of any size, regardless of web server restrictions (Professional version).
  • It includes an overall upload progress bar.
  • It includes details and progress bars for each file individually (Professional version).
  • It includes captcha for checking user before file upload (Professional version).
  • It supports localization.
  • It integrates with WP-Filebase.
  • It is highly customizable with many options.
  • It produces notification messages and e-mails.
  • You can create additional fields that the user must fill in along with the uploaded file.
  • It supports redirection to another url after successful upload.
  • You can create you shortcode very easily by using the included Shortcode Composer in the plugin’s settings inside Dashboard.

Requirements

The plugin requires to have Javascript enabled in your browser. For Internet Explorer you also need to have Active-X enabled.

Please note that old desktop browsers or mobile browsers may not support all of the above features. In order to get full functionality use the latest versions of browsers, supporting HTML5, AJAX and CSS3.

Installation

  1. First copy wordpress_file_upload directory inside wp-contents/plugins directory of your wordpress site.
  2. Activate the plugin from Plugins menu of your Dashboard.
  3. In order to use the plugin simply put the shortcode [wordpress_file_upload] in the contents of any page.
  4. If you want more options, go to plugin Settings inside Dashboard, open Shortcode Composer and select the options you want. The composer generates the shortcode automatically. Copy and paste it to the page of your choice.

188 comments on “WordPress File Upload
  1. JW says:

    Your plugin doesn’t function correctly if “WordPress Address (URL)” and “Site Address (URL)” are different. Namely, it doesn’t find any of the images that it is supposed to use. Also, the email feature is not sending any emails, though it doesn’t report any errors.

    • admin says:

      Thanks for this valuable info…. I will check this out and release a new version if necessary…

      • Matt C says:

        Do you have an update for this issue? Was that actually a bug? Is there a workaround? I’d like to purchase this, but it has to work with that scenario.

        • admin says:

          to which problem are you referring? sorry but comments have been mixed…

          • Thomas says:

            “Your plugin doesn’t function correctly if “WordPress Address (URL)” and “Site Address (URL)” are different.”

            Same problem here. Plugin does not work with Wp-Skeleton + Roots that i always use to start websites, and which need a different address for site and home url.

          • admin says:

            Hi,

            this problem has been resolved. Which version are you using?

  2. Seth Duncan says:

    I need to use my theme’s css for Select and Upload buttons, how is this done?

    • admin says:

      For the moment you will have to override the plugin’s css styles manually by adding your css styles in theme’s custom css section by using the following selectors:

      – for Select button input[type="button"].file_input_button
      – for Upload button input[type="button"].file_input_submit

      Please note that the plugin’s css rules are intentionally strict and override theme’s settings because of problems with some themes. However, following versions of the plugin will have a mechanism to relax the plugin’s css rules and use theme’s ones.

      Regards

  3. ZM says:

    The select button is not position right. It underneath the upload button.

    http://wordpress.org/support/topic/select-and-load-button-displacement-problem

    it the same problem he was having, can you help me fix it?

    • Migs says:

      For anybody having this problem, edit this file at lines 7 and 121 -

      /wp-content/plugins/wp-file-upload/css/wordpress_file_upload_style.css

      Change this line -

      margin: 0;

      to read -

      margin: 10px 0 0 0;

      • Titania says:

        Hello, I keep having this issue even if I changed the CSS exactly as you said.

        I’m using the plugin editor to edit the CSS, and on the title there are brackets with the word (inactive). Could it be a problem related to the editor?

  4. Jess says:

    If you can add a user role attribute for filepaths, it’d be hugely appreciated!

  5. James Hearn says:

    I have WordPress File Upload installed and the shortcode [wordpress_file_upload] inserted on a page, but the textboxes/buttons are not visible.

    I also have your Inline Upload plugin installed, but I made it inactive.

    The site I wish to use this shortcode on is included.

    Any suggestions?

    • admin says:

      what happens if your open the page as admin? does the plugin show up?

      • James Hearn says:

        No, it’s still not there. I have [wordpress_file_upload] in the text editor window, but no form in the page when I’m in there as admin or as a regular user.

        Inline Upload is deactivated, and WordPress File Upload is active.

        any other settings I may be missing? any known conflicts with other plugins? I may revert back to Inline Upload & see if it’s still a problem, and let you know what I find.

      • James Hearn says:

        Okay, so Inline Upload doesn’t appear to work either. I think it may be another plugin interfering with this one, or maybe my theme. It worked when I was developing the theme in WebMatrix…

        • James Hearn says:

          So, I changed themes, and it didn’t fix the issue. I also deactivated all other plugins, and that didn’t fix it either. I was checking in Chrome Incognito mode, so it wouldn’t reuse any data when I refreshed the browser.

          Any other suggestions?

        • admin says:

          Please download and try version 2.1.2 which has just been released…this version includes debug support for administrators…. let me know on results so that we can sort it out…

  6. khebrat academy says:

    i cant save any setting change
    where are save buttons ?

    • admin says:

      Shortcode Composer currently does not allow to save settings. You can copy and paste the generated shortcode to the page you want to show the plugin… future versions (in a few days) will allow saving of the settings….

      thank you…

  7. tostod says:

    Very nice plugin!
    The file wordpress-file-upload-upload.pot seems to be corrupt.
    How to translate plugin?

  8. Derek says:

    File Delivery.WMV not uploaded
    Upload failed! Unknown error.
    Failed upload path: Delivery.WMV
    fileupload:

    Any idea what might cause this?

    [wordpress_file_upload uploadrole="all" uploadpath="uploads/EarlyStartSubmissions" uploadpatterns="*.MOV,*.MPEG4,*.mp4,*.AVI,*.wmv,*.MPEGPS,*.FLV,*.3GPP,*.WebM,*.jpg,*.jpeg,*.png" maxsize="50" createpath="true" dublicatespolicy="maintain both" uploadbutton="I agree to submission terms! UPLOAD it!" notify="true" notifyrecipients="arca@arcanet.org" notifysubject="New Submission Uploaded" widths="filename:200px, selectbutton:80px, uploadbutton:300px, progressbar:220px, message:368px" userdata="true" userdatalabel="*Name (required)/*Email (required)" placements="title/userdata+userdatalabel/filename+selectbutton/uploadbutton+progressbar/message" uploadtitle="Upload Video" debugmode="true"]

  9. Derek says:

    ARG, can you XXXX out that email address???

  10. Derek says:

    Here is the Debug:

    Upload failed! Unknown error.
    Failed upload path: I_Dont_Need_Subtitles.wmv
    fileupload:
    Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /usr/home/arcane/www/htdocs/wp-includes/functions.php on line 3019

    Notice: Use of undefined constant HTTP_HOST – assumed ‘HTTP_HOST’ in /usr/home/arcane/www/htdocs/wp-content/plugins/media-library-categories/variables.php on line 10

    Notice: Use of undefined constant thickbox_init – assumed ‘thickbox_init’ in /usr/home/arcane/www/htdocs/wp-content/plugins/thickbox/thickbox.php on line 138

    Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /usr/home/arcane/www/htdocs/wp-includes/functions.php on line 3019

    Notice: Undefined index: page in /usr/home/arcane/www/htdocs/wp-content/plugins/wordpress-nextgen-galleryview/nggGalleryView.php on line 444

    Notice: Undefined index: page in /usr/home/arcane/www/htdocs/wp-content/plugins/wordpress-nextgen-galleryview/nggGalleryView.php on line 446

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /usr/home/arcane/www/htdocs/wp-includes/functions.php:3019) in /usr/home/arcane/www/htdocs/wp-content/plugins/wp-file-upload/wordpress_file_upload.php on line 2

    Notice: Use of undefined constant zframe – assumed ‘zframe’ in /usr/home/arcane/www/htdocs/wp-includes/widgets.php on line 324

    Notice: load_plugin_textdomain was called with an argument that is deprecated since version 2.7 with no alternative available. in /usr/home/arcane/www/htdocs/wp-includes/functions.php on line 3019

    Notice: A session had already been started – ignoring session_start() in /usr/home/arcane/www/htdocs/wp-content/plugins/youtube-simplegallery/youtube_simplegallery.php on line 137

    Notice: Undefined index: wfu_token_1 in /usr/home/arcane/www/htdocs/wp-content/plugins/wp-file-upload/lib/wfu_ajaxactions.php on line 68

  11. Derek says:

    I should also ask, did you get this version to work in IE8?? That is the best XP can do and half the planet still uses IE8…

  12. Derek says:

    I even tried sending it to another ftp server (that I can see the log) and it never even tried to login???

    • admin says:

      Hi Derek,

      thanks for all this info…. we will have to go step by step to sort it out….

      1. first of all simplify your shortcode, remove email notification and userdata (just set notify=”false” and userdata=”false”), set createpath=”false” and also add adminmessages=”true”.
      2. try uploading a small file, less than 1Mb and see what happens.
      3. what browser are you working on? IE8? what if you try Chrome? does the problem persist?
      4. what is the URL of your website?

      I will also make some checks on IE8 and let you know…

      Regards

  13. Derek says:

    New short code:

    [wordpress_file_upload uploadid="1" uploadrole="all" uploadpatterns="*.mov,*.mpeg4,*.mp4,*.avi,*.wmv,*.mpegps,*.flv,*.3gpp,*.webm,*.jpg,*.jpeg,*.png" maxsize="50" createpath="false" dublicatespolicy="maintain both" uploadbutton="I agree to submission terms. Upload it!" notify="false" notifyrecipients="xxx@xxx.org" notifysubject="New Submission Uploaded" widths="filename:200px, selectbutton:80px, uploadbutton:300px, progressbar:220px, message:368px" userdata="false" userdatalabel="*Name (required)/*Email (required)" placements="title/userdata+userdatalabel/filename+selectbutton/uploadbutton+progressbar/message" uploadtitle="Upload Video" debugmode="true" adminmessages=”true”]

    Same issue. Here is the page: http://arcanet.org/renewearlystart/how-to-help.html

  14. Derek says:

    I am testing with chrome, but I need it to work in IE8 as well….I will test that once it works.

  15. Derek says:

    also tried this:
    [wordpress_file_upload uploadid="1" uploadrole="all" uploadpatterns="*.*" maxsize="50" createpath="false" dublicatespolicy="maintain both" uploadbutton="I agree to submission terms. Upload it!" notify="false" widths="filename:200px, selectbutton:80px, uploadbutton:300px, progressbar:220px, message:368px" userdata="false" placements="title/userdata+userdatalabel/filename+selectbutton/uploadbutton+progressbar/message" uploadtitle="Upload Video" debugmode="true" adminmessages="true"]

  16. aaron says:

    Holy awesome plugin! Just what I was looking for! Super easy to use, and needed it just in time for a project. I just bought the pro version. One featured I think would be awesome is the ability to import the file uploads to the media library.

    I am doing a custom post type and adding fields using advanced custom fields, using the image field, the only problem is the image field uses a media ID and not a URL, would be super rad to be able to assign the file uploaded to a media ID. Just a thought. I’ll go through your code and see if I can come up with anything.

    Thanks again!

    • admin says:

      Adding the uploaded files to Media is a feature that will be implemented in the next version (in a few days)…. any ideas on additional features are more than welcome…

      regards

      • aaron says:

        Awesome! Can’t wait for this feature! I tried implementing it myself, and I got it to work, but had to refactor the $_FILES array, and it only worked for single files, but I am sure you’ll implement it quite well.

        One quick question. Is this supposed to work on ie6 and ie7? I thought it had a flash fallback, but it wasn’t working in ie6 for some strange reaason as it was saying something about prototype not found. Just checking.

  17. Andrew Grantham says:

    I am unable to upload files over a meg or so. Small image files upload very quickly, but video files stall after a minute or so.

  18. Jos says:

    The page is displaying the file but won’t play it.
    I get this warning
    Warning: filesize() [function.filesize]: stat failed for ………/wp-content/uploads/muziek/sopraan126-scarborough-fair—sopraan.mp3 in ……/public_html/koor/wp-content/plugins/advanced-dewplayer/advanceddewplayer.php on line 127

    What’s wrong? Can you help me?

  19. Derek says:

    Can you contact me…I’d like to get this working!!

  20. Sara says:

    Hi. Love your plugin but I’m having a few issues which I hope you can help me with.

    Here is the code as your plugin generated it once I’d set everything up:

    [wordpress_file_upload uploadrole="administrator,customer" uploadpatterns="*.jpg,*.png,*.pdf" maxsize="350" createpath="true" dublicatespolicy="maintain both" uniquepattern="datetimestamp" adminmessages="true" uploadtitle="Upload files for DIY Product" notify="true" notifyrecipients="%useremail%,info@muggles.co.za" notifysubject="File Upload Notification - %username%" notifymessage="Dear Recipient,%n%%n%This is an automatic delivery message to notify you that a new file has been uploaded.%n%%n%Username: %username%%n%User Email: %useremail%%n%File Name: %filename%%n%User Data: %userdataXXX%%n%%n%Best Regards" attachfile="true" userdata="true" userdatalabel="Text on Product/Font Required"]

    1. Notifications

    I need the notification email to be sent to me as the Administrator to my email address but it only sends it to the useremail.

    2. Additional Fields

    I need these fields to be included in the email that gets sent to me but the email that I (as the Customer) only states the following:

    “Dear Recipient,

    This is an automatic delivery message to notify you that a new file has been uploaded.

    Username: Ainscow
    User Email: XXXXX@XXXXXXXXXXX.XX.XX
    File Name: red-christmas-tree-20131229035545.jpg
    User Data: %userdataXXX%

    Best Regards”

    3. File Path

    I have opted to NOT show the File Path, but after uploading the image, next to the Upload Successful message there is a small downward pointing triangle. When you click on it then it shows the File Path.

    How do I stop this from showing to anyone who uses the site?

    If you need any further information you are welcome to contact me. Thanks again for a wonderful plugin. These issues are probably just due to me being blonde (yes I can say that lol) and not having much coding knowledge.

    Looking forward to your response.

    Sara

    • Sara says:

      PS: One other problem I am having is removing the uploaded files once I have finished with them. I logged in via my Control Panel and got the following error message when I tried to delete them:

      Error: Unable to remove file //httpdocs/wp-content/uploads//var/www/vhosts/muggles.co.za//httpdocs/wp-content/uploads/red-christmas-tree-20131229033022.jpg: filemng failed: rm: cannot remove `/var/www/vhosts/muggles.co.za//httpdocs/wp-content/uploads/red-christmas-tree-20131229033022.jpg’: Permission denied
      filemng: Error occurred during /bin/rm command.

      Please advise – Thanks

    • admin says:

      Hi Sara,

      here are the answers:

      1. Maybe a bug….. I will check….
      2. you should replace %userdataXXX% with %userdata1%, %userdata2% etc for each field. XXX is just a placeholder for 1, 2, 3 etc. So, %userdata1% will be replaced by the data that the user put in the first field (Text on Product) and so on…
      3. You see the triangle even as a Customer? The path details should only be visible to administrators. I will check.

      Thanks for this valuable info. I will let you know asap about results.

      Nickolas Bossinas
      http://www.iptanus.com

  21. Chris says:

    Hello,

    I recently purchased your pro version, upon installation…it has completely overridden my theme css..changing the font, spacing etc. How do I remedy this?

  22. Razworks says:

    Error: “Upload failed!
    Targer folder doesn’t exist.”

    How do you resolve this?

    • admin says:

      you can add createpath=”true” in your shortcode in order to create the folder if it does not exist….

      please let me know if you need further assistance….

  23. Phill says:

    Hello there,

    First of all I must say this plugin is great and exactly what I’m looking for to help my business online.
    There’s only one issue I’m having which I hope you can help me with.

    I had chosen for files to be sent to my FTP and had entered my username/password credentials. I know this information is correct because it had successfully created a directory “uploads” folder in my personal FTP server. Though the file would not go through as it states, “Upload failed! Error occured while moving temporary file. Please contact administrator.”

    My assumption is that this is not a problem with the plugin but may have to do with the permissions within my web hosting. But I’m unsure as to which needs to be adjusted. My max upload size is 100MB but I have even tried testing with very small files and they were still unsuccessful.

    Here’s a copy of my shortcode for reference:
    [wordpress_file_upload uploadrole="all" maxsize="100" createpath="true" accessmethod="ftp" ftpinfo="???:???@ftp.fotobox.ca" useftpdomain="true" showtargetfolder="true" askforsubfolders="true" placements="title/filename+selectbutton/uploadbutton/subfolders/userdata/message/progressbar" uploadtitle="FOTOBOX FTP Upload" notify="true" notifyrecipients="info@fotobox.ca" widths="title:300px, filename:200px, progressbar:600px, userdata:600px" userdata="true" userdatalabel="*Name/Email/Order"]

    I hope you will be able to assist me with me this issue. I think your plugin is great and if this is able to work then I am very interested in upgrading to pro version to allow multiple files.

    Thank you

  24. Kevin says:

    Is this compatible with WP 3.8? I can’t get email notification to work. My shortcode (with redacted email address):

    [wordpress_file_upload uploadid="2" singlebutton="true" uploadrole="all" createpath="true" notify="true" notifyrecipients="correct@email.com" notifymessage="Dear Recipient,%n%%n% This is an automatic delivery message to notify you that a new file has been uploaded.%n%%username% %useremail% %filename% %filepath% %n%Best Regards" userdata="true" userdatalabel="*Your message"]

    • admin says:

      Yes it is compatible with WP 3.8… do you have any other plugins sending emails? Sometimes there are conflicts…

      • Kevin says:

        It is only working with certain email addresses. It is sending a notification to my gmail address, but not to my work email. I’m less suspicious of your awesome plugin than I am of wherever the work emails are hosted.

  25. Jasper says:

    Hi,
    I use your plugin to upload via ftp. My hoster supplies ftp account names only in the xxx@domain.com format.
    So my login crdentials look like test@domain.com:passwd@ftp.domain.com
    The plugin interprets the first @ as the part before the domain name so it can not login to the ftp server.
    Anyway you can solve this?

    • admin says:

      Use \@ and \: like this:

      test\@domain.com mailto\:test\@domain.com:passwd@ftp.domain.com

      please pay attention to the backslashes (\) before (@) and (:) symbols. The only (@) and (:) without backslashes should be those separating username, password and domain.

      please also pay attention to the spaces…

      let me know if there are problems….

      Nickolas Bossinas
      http://www.iptanus.com

      • Jasper says:

        Sorry, can’t get it to work. Maybe i wrote the wrong credentials line in the previous post.
        So my ftp username is: test@domain.com and the password is just test (no @ symbol here).
        Can you provide again the instructions?

  26. Wayne says:

    When I tried to activate your plugin, it showed:

    Plugin could not be activated because it triggered a fatal error.
    Parse error: syntax error, unexpected T_FUNCTION in {my_path_wordpress}\wp-content\plugins\wp-file-upload\lib\wfu_functions.php on line 115

    Do you know how to solve it?

    Thanks,
    Wayne

    • admin says:

      We are working in identifying the problem… a revision of the plugin is going to be issued if necessary…

      Best Regards

      Nickolas Bossinas
      http://www.iptanus.com

    • admin says:

      Can you please tell me your php version?

      • bosseir says:

        J’ai le même problème, voici mon WP:

        [b]Ma configuration WP actuelle :[/b]

        [b]- Version de WordPress :[/b] 3.8
        [b]- Version de PHP/MySQL :[/b] 5.2.17 / 5.0.95
        [b]- Thème utilisé :[/b] Twenty Ten
        [b]- Thème URI :[/b] http://wordpress.org/themes/twentyten
        [b]- Extensions en place :[/b] Akismet (2.5.9), BackWPup (3.1.1), Captain Favicon (1.1), Contact Form (3.69), Delightful Downloads (1.3.2), Easy Timer (3.6.1), Forum_wordpress_fr (3.1), Jetpack by WordPress.com (2.7), Link Manager (0.1-beta), Meta Slider (2.6.2), NextCellent Gallery (1.9.16), Page Security by Contexture (1.5.10), WordPress File Upload (2.1.2), YouTube (7.1)
        [b]- Adresse du site :
        [b]- Nom de l’hébergeur :[/b] Apache

        • admin says:

          Seems that function preg_replace_callback is not supported in all cases (although I do not know why). We will have to find a workaround. It will be resolved within the next one or two days and a new version will be released.

  27. Jennifer says:

    I’m getting the same error:

    Parse error: syntax error, unexpected T_FUNCTION in /hermes/waloraweb005/b1790/moo.jldalyphotographycom/jenndaly.com-redirect/digital/wp-content/plugins/wordpress-file-upload/lib/wfu_functions.php on line 115

    I’m using PHP 5.3

    • admin says:

      Seems that function preg_replace_callback is not supported in all cases (although I do not know why). We will have to find a workaround. It will be resolved within the next one or two days and a new version will be released.

  28. Jamie Graham says:

    Is it possible to specify a directory which is at the root level of the website rather than in the wp-content directory?

    • admin says:

      Yes, put double dots (..) before the path, e.g. if your folder is “pictures” in the root level, then put in the shortcode uploadpath=”../pictures”

  29. Jennifer says:

    Is is possible to still get version 2.1.2? It was working and I’d like to be able to to use the plug-in until the fix is finished.

  30. Yedhu says:

    While uploading the wordfiles (docx) I’m getting an error

    “File new-microsoft-office-word-document.docx not uploaded”

    “Upload failed! The duration of the upload exceeded the time limit of the server. Please contact the administrator.”

    Kindly help!

  31. Paul says:

    Hi and thanks for the plugin. This is incredibly brilliant! It even detects my Android browser…how cool! However, I get failed uploads using FTP and would like some help to fix that please. Below are the details of my error message, the plugin settings, and finally some server details.

    1) Error message:
    File failed to upload
    Redirection to classic form functionality occurred because HTML5 is not supported.
    File test.jpg not uploaded
    Upload failed! Unknown error.
    Failed upload path: /home/paul/public_html/wp-content/uploads/test/test.jpg
    Error. Could not resolve ftp target filename. Check the domain in ‘ftpinfo’ attribute.

    2) Plugin settings
    [wordpress_file_upload uploadpath="uploads/test" uploadrole="all" createpath="true" accessmethod="ftp" ftpinfo="paul:password@ftp.paul.fake.com" uniquepattern="datetimestamp" adminmessages="true" debugmode="true"]

    3) Website settings:

    WordPress 3.8

    .htaccess file in the root directory as follows:
    ——
    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    AuthName “Home Directory”
    AuthUserFile “/home/paul/.htpasswds/public_html/passwd”
    AuthType Basic
    require valid-user
    ——

    Folder Permission is 755 for wp-content, uploads and test (even tried 777 for the folders with no success).

    My ftp user account has access to the /home folder. I’ve tried using “../public_html/wp-content” in the upload path. I also just tried using “uploads/test” in the uploads path. Both give the exact same error.

    The plugin works fine in Normal Mode. I’m testing with 2MB files of various extensions. I can use 100% of the plugin options in Normal Mode and successfully upload with all of the possible combinations of setting. The need to use FTP stems from the small upload limit of my provider.

    I tried using Android smart phone, WinXP Pro with IE8 / Chrome / Firefox, and Win7 Pro with IE9 and they all give the exact same error above.

    I don’t have direct access to my FTP logs but the system shows me that there has been no account activity since I last logged in with my desktop FTP application. This may imply that the plugin isn’t logging in.

    I can successfully access my FTP site using IE8 and IE9 and the “paul:password@paul.fake.com” combination.

    I can’t think of what else to try and have resorted to trial and error to change settings to get this plugin to work (futile). I look forward to your reply.

    Thanks in advance,
    Paul

    • admin says:

      Hi,

      does your FTP username or password contain any (@) or (:) characters? Is the FTP domain you are using the same with the website domain?

      Just for your information, ftp mode of the plugin does not upload the files from your computer to the destination file using FTP (not allowed by the browser). It just moves the file that has been uploaded to the temp folder of your website (by the browser using AJAX or HTML Forms) to the final destination using FTP commands. It is used in cases where the file cannot be moved from temp dir to the final destination (using move_uploaded_file or copy PHP commands) because of folder permission restrictions (usually happening when the website is hosted in Windows server environment). This means that if your provider imposes file upload limitations they would probably not resolved using ftp mode. Nevertheless, you can try.

      Google Drive and Dropbox have resolved the “provider limitations” issue by using chunked uploads (cutting the file in small pieces in client side, upload them one-by-one and reconstructing the file in server side). You can find the same approach to the professional version of WordPress File Upload.

      Waiting for your feedback.

      Regards

      Nickolas Bossinas
      http://www.iptanus.com

  32. Andy Collins says:

    Just wanted to check you that you think the plugin will work fine with around 5GB csv files please – I am thinkung of the pro vs :)

  33. rgnelson says:

    I’m having problems with ftp mode.
    Below is code and message.
    Safari, firefox mac
    Thanks for any help on this!

    Short Code:
    [wordpress_file_upload notify="false" userdata="false" createpath="false" adminmessages="true" accessmethod="ftp" ftpinfo="ftpuser\@mydomain.com:thepass@ftp.mydomain.com"]

    Upload failed! Unknown error.
    Failed upload path: /home/mysite/public_html/somedir/wp-content/uploads/myfile.pdf
    Error. Could not extract ftp information from ‘ftpinfo’ attribute. Check its syntax. ftpuser@mydomain.com:thepass@ftp.mydomain.com

  34. Jennifer says:

    Hi Nikolas,

    I was able to install 2.1.3 but even using just the simplest shortcode, I am unable to upload anything.

    I tried a more complex shortcode at first and kept simplifying it until all I had left was [wordpress_file_upload].

    Regardless of the shortcode I keep getting the following error message whenever I try to upload a file:

    Upload failed! Unknown error.
    Failed upload path: testimage.jpg
    fileupload:Session failed!

    Session Data:
    Array ( )

    Post Data:
    Array ( [action] => wfu_ajax_action [params_index] => HzcenS3T362Z7xya [subdir_sel_index] => -1 [captcha_challenge] => _0 [chunk_data] => 0,0,0,0, [session_token] => 102696120452e414227a0ad8.59364065 [unique_id] => AUm5AcuBCZ )

    I was able to make this work when I had 2.1.2 installed.

    • admin says:

      Hi Jennifer,

      Please download the new version 2.2.1 and try again. If the problem persists, please let me know. We will sort it out…

      Nickolas

      • Jennifer says:

        Hi,

        I’m able to upload files using the [wordpress_file_upload] shortcode, but if I go into the settings menu to access the shortcode editor or the file manager I get the following message.

        Internal Server Error

        The server encountered an internal error or misconfiguration and was unable to complete your request.

        Please contact the server administrator, cgiadmin@yourhostingaccount.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

        More information about this error may be available in the server error log.

        Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

  35. Zachary says:

    I am getting an error when trying to upload. It simply says ‘File not allowed.’ Any tips on overcoming this? I have specified the allowed file extensions, and the files I am uploading match what is allowed.

    Thanks for the input.

    • admin says:

      Please tell me your shortcode and also the name of the file you are trying to upload…

      • Zachary says:

        I have tried a number of files, most of which have been .mp3 files as those are what clients will upload to our site most often.

        [wordpress_file_upload uploadrole="all" uploadpatterns="3gp,avi,mov,mp4,mpg,swf,wmv,wma,wav,mp3,m4a,mid,ogg" maxsize="2048" dublicatespolicy="maintain" uniquepattern="datetimestamp" placements="userdata/title/filename+selectbutton+uploadbutton/subfolders/message" userdata="true" userdatalabel="*Name/*Email/Comment"]

  36. Rolf says:

    I’m also having some trouble with ftp. When uploading, I get the following php error message: ftp_chmod(): Could not change perms on /wp-content/fileuploadsloads: No such file or directory in /server/path/to/wordpress/wp-content/plugins/wp-file-upload/lib/wfu_io.php on line 79

    Isn’t the path /wp-content/fileuploads totally wrong, as wp-content is only in the root of the webspace and not in the root of the file system? And as a path for ftp, this also seems to be wrong.

  37. Danita Zanre says:

    I cannot seem to get files larger than about 5MB to upload, even though I’ve changed php.ini and the plugin maximums to larger files.

    Thanks.

    Danita

  38. Aenea Reid says:

    Have just installed this plugin and am trying it out.
    I don’t seen to get a progress bar, just the message ‘Upload in progress’ whilst the file is being uploaded. (See shortcode below.) Is this corect behaviour or am I missing something?

    [wordpress_file_upload uploadpath="uploads/testing" uploadpatterns="*.jpg, *.JPG, *.jpeg, *.JPEG" maxsize="5" createpath="true" dublicatespolicy="reject" adminmessages="true" debugmode="true" placements="title/filename+selectbutton+uploadbutton/progressbar"
    uploadtitle="Upload files Test2" ]

    • admin says:

      Please set testmode=”true” in the shortcode. This will put the plugin in test mode, so that you can see its elements. Let me know if you see the progress bar or not.

  39. Paul says:

    is there a way to limit the number of files a user can upload?

  40. Robb says:

    RE: Email Notifications

    Is it possible to insert variables from the “Additional Fields” section?

    The following is not working for Email Recipients:

    myemailaddresss@mydomain.com, %userdata1%

    As my form is in a general password protected page (not a specific user with a unique email address), I am asking the file uploader to provide their email address and name. Then I am trying to add their email address to the list of recipients so they get an email confirmation that their file was sent.

    Thanks.

    • admin says:

      This has not been implemented yet but I will put it in the next version… in a few days from now… thanks for the feedback….

  41. Pablo says:

    Hi, amazing plugin, so far it’s really easy to setup and has some amazing features compared with other plugin. gratz!

    I wanted to know if there is a way to store a file using the userdata value, lets say “email” as a folder (ex.:uploads/%userdata_email%).

    I need to do this for guest users that don’t have an account.

    • admin says:

      Hi, no way yet…. userdata values cannot be used inside the uploadpath (didn’t have this kind of request so far)… however this seems to be a good way for users with no account, so I will put it in the next version in a few days from now… thanks for the feedback…

  42. Denny Beyer says:

    Thanks for providing the plugin. It comes really handy.

    However, I see several issues when using it:
    (1) File size: Files of up to 10mb are uploaded easily, but no bigger files. (currently the Showstopper for me)
    Resetting upload_max_filesize in php ini did not help.
    (2) All input boxes/buttons are too small be default.
    how can userdata input boxes be resized
    (3) Notify message texts are set, but default english ones are shown nonetheless.
    (4) Button “Select file” is not in line with “Send file” and file input box. Altering the css file, as decribed above, did not work.

    I did spent quite some time on it. When starting with it, I did not expect that much time one has to invest to get a quite simple version to work. I’ll probably try something else as well, as I don’t see how to overcome the described issues.

  43. Dragan says:

    Hi.

    Since the last update, Your plugin will not allow me to have my language during file upload. All the messages stay in English, even when I change them i Shortcode Composer.
    Why ?

  44. Mark says:

    Can you explain how to set base directory and use the file browser. I am getting these errors when trying to set the base directory and when creating folders with the file browser:

    Warning: Missing argument 1 for wfu_browse_files(), called in /home2/iagairpo/public_html/apsdex.com/wp-content/plugins/wp-file-upload/lib/wfu_admin.php on line 749 and defined in /home2/iagairpo/public_html/apsdex.com/wp-content/plugins/wp-file-upload/lib/wfu_admin.php on line 442

    Warning: opendir(/home2/iagairpo/public_html/apsdex.com/wp-content/public_html/apsdex.com/wp-content/exhibitor-uploads/) [function.opendir]: failed to open dir: No such file or directory in /home2/iagairpo/public_html/apsdex.com/wp-content/plugins/wp-file-upload/lib/wfu_admin.php on line 521

    Thanks!

    • admin says:

      If you leave base directory blank, then File Browser will show you the contents of wp-contents folder of your WordPress website. Have you tried this?

  45. Srikanth S says:

    this plugin looks nice. thank you.
    how to ensure the filename (saved on server) follow a pattern irrespective of actual file name of uploaded file? Say for example a image file ‘john_selfie.jpg’ as img_2431.jpg on target where john’s user id is 2431.

    • admin says:

      this has not been implemented and needs some coding… alternatively you can store images to different folders for each user (using the username as a subfolder name)…

  46. Thomas Saeys says:

    Is there a way to reset the shortcode composer? It doesn’t disappear/reset if I delete the plugin and reinstall the plugin. Where is the shortcode stored in wordpress when it’s updated?

    Why I’m asking is this: The shortcode in the shortcode composer is not updated when I change the Select Button Caption. (The shortcode is correctly updated when any other setting is changed.) Further, I have the letter “ä” in the Select Caption Button text, which has encoded/transformed to the symbol “�”, which furthermore now is _duplicated_ each time I open the Shortcode Composer. The more I try to get rid of all the “�” the more “�” is filling the Shortcode Composer text field. Kinda impossible to use… Help, please! Using the professional version, WP 3.8.1, Chrome.

    • admin says:

      the shortcode is stored as a WordPress option…. you can reset it if you have access to the database… do you know how to do that?

      nevertheless, it seems that there is a problem with Unicode characters…. I will check it….

  47. Rob Kleven says:

    Works great on all my browsers on my MacOS. Can’t get any browsers to work on Windows 7. IE,Chrome, Firefox.

    The Buttons and Field are not displayed at all.

  48. Claudia says:

    How can I download the files uploaded by my site’s visitors? Or where do I find the actual physical file?

    /Claudia

    • admin says:

      For the moment you can do this using an FTP client… the files are stored in the website directory structure inside wp-contents folder….

  49. Nicolai says:

    After I hit the upload button I get this error in pink:

    Upload failed! Unknown error.

    I tried it in Chrome and Firefox and I checked the permission on the upload folder (it’s 777)

    (My wordpress url is different from the site url in case the first comment by JW still applies.)

    • admin says:

      Can you give me the shortcode?

      • Nicolai says:

        Sure! (I removed the web site url)
        I am using v. 2.2.3

        [wordpress_file_upload uploadpath="uploads/" uploadrole="all" uploadpatterns="*.jpg,*.png" maxsize="20" redirect="true" redirectlink="http://xxxwebsitenameremovedxxx.com/thanks-submission/" placements="title/filename+selectbutton/subfolders/userdata/message/uploadbutton" uploadtitle="Upload Your Sketch (Jpg or Png)" uploadbutton="Submit!" notifyrecipients="all1" notifysubject="all2" notifymessage="all3" attachfile="all4" userdata="all5" userdatalabel="all6" medialink="all7"]

        • Migs says:

          Hi Nicolai

          I get the same error, since the last update (running 2.2.3)

          —-Error—-

          Upload failed! Unknown error.
          Failed upload path: image.jpg
          fileupload:Session failed!

          —End Error—

          It then gives both Session Data and Post Data.

          I changed the upload folder to a random, non-existant, location, but it returns the same error, so the process doesn’t even get as far as checking the upload folder location.

          It all worked fine until recently.

        • Nicolai says:

          I also tried this one:

          [wordpress_file_upload uploadrole="all"]

          I also put in a support ticket to my site host in case it’s a server issue.

          • Nicolai says:

            Any thoughts admin?

            My host (Hostgator) gave me an inconclusive response. They said that ‘scripts that require 777 will not work and I should leave it at 755) That wasn’t really my question but regardless, it still doesn’t work.

      • Nicolai says:

        It works for me now in Opera and IE but not Chrome or Firefox

  50. Paolo Sala says:

    Thank you, very nice!

  51. Paolo Sala says:

    [wordpress_file_upload uploadrole="all" uploadpath="../download" uploadpatterns="*.zip" maxsize="500" placements="title/filename+selectbutton+uploadbutton/progressbar/message" successmessage="File %filename% uploaded successfully. Please copy and paste this link: http://www.arcaportal.com/download/%filename%" adminmessages="true" accessmethod="ftp" ftpinfo="arcaportal\@arcaportal.com:qwertyuiop@ftp.arcaportal.com" widths="progressbar:600px, message:610px"]

    Upload failed! Unknown error.
    Failed upload path: \WAGNER\wwwroot$\e2937bc3b.hostnd\htdocs\www/download/32-00704_rev-d_jabra-pro-930_manual_it.zip
    Error. Could not extract ftp information from ‘ftpinfo’ attribute. Check its syntax.arcaportal@arcaportal.com:qwertyuiop@ftp.arcaportal.com

    I have problem using my FTP.
    Can you help me?
    Thanks.

  52. Angel says:

    Hi.

    I want to change the Spanish “Upload files”, “Select file”, “Upload file”, “Upload in progress” and “File uploaded successfully”. Where the email is added to recieve files?

    Thanks. Regards.

  53. andy says:

    Tryed everything, and worked now for some hours with this plugin, but it does look only nice but is not working – Uploads message success, but no file in the folder , no emails are sended … nothing working … using a fresh and new WP newlly installed

  54. Angel says:

    Ok.

    I can change anything but “Upload in progress” is not for you to change. Can I change it somewhere else?

    Very thanks. Regards.

  55. K says:

    Is it possible to change the type for each user data input field? For example: set some fields to be radio buttons or drop downs?

    Thanks,

    K.

  56. rob says:

    cant get email notifications to work
    [wordpress_file_upload uploadpath="birthday" uploadrole="all" showtargetfolder="true" dublicatespolicy="maintain both" redirect="true" redirectlink="/thanks" placements="title/filename+selectbutton/userdata/uploadbutton/progressbar" uploadtitle="Send a message or photo" notify="true" notifyrecipients="xxx@xxx%n%xxx@gmail.com" notifymessage="%userdata1%%n%%userdata2%%n%%userdata3%%n%%filename%" attachfile="true" widths="title:350px, progressbar:200px" userdata="true" userdatalabel="*name/*email/Photo Caption"]

  57. Bernardo says:

    hello, I bought your plugin wordpress file upload

    IT HAS BEEN IMPOSSIBLE FOR ME FINDING THE WAY TO REGISTER IN YOUR SITE FOR SUPPORT.

    ANYWAY, I HAVE BEEN WRITING YOU by email, TOO, AND YOU NEVER ANSWERED.

    I hope now I have PAID you for your plugin you are going to answer and support me.

    it has been impossible for me to set your plugin to run well.

    Location: http://www.jbpcr.com/cargarfotos

    testing user (for login – upper part right side): Eljefe

    testing password: Paratest123%321$

    I AM USING THIS PATH:

    wp-content/uploads/fotosclientes/

    I AM USING THIS SHORTCODE:

    [wordpress_file_upload dragdrop="false" uploadpath="%username%/" uploadrole="subscriber" maxsize="1500" useftpdomain="true" showtargetfolder="true" adminmessages="true" uploadtitle="Cargar Imágenes" selectbutton="Seleccionar/Seleccionar" uploadbutton="Cargar/Cargar" targetfolderlabel="Ruta:" successmessage="Imagenes ya cargadas" warningmessage="Imagenes cargadas pero con advertencias" errormessage="Imagenes no cargadas" waitmessage="Cargando" notify="true" notifyrecipients="%useremail%" notifyheaders="Imágenes cargadas a jbp" notifysubject="Imágenes cargadas a jbp" notifymessage="Gracias %username% %n%%n%sus imágenes han sido cargadas al servidor de jbp" filebaselink="true"]

    Where
    %username% is the username and corresponds to a location i have previously created in my server, exactly here:

    /home/creadorwebcr/wp-content/uploads/fotosclientes/Eljefe

    so the whole path for the testing user is:

    /home/creadorwebcr/wp-content/uploads/fotosclientes/%username%

    and %username% is equal to Eljefe

    WELL, I TESTED IT, AND THE PLUGIN SAY AT FINAL -

    All files uploaded successfully

    PLEASE CHECK SCREENSHOT AS ATTACH

    BUT, WHEN I GO TO SERVER THE IMAGES ARE NOT THERE, EVEN, I DO NOT KNOW WHERE THEY HAVE BEEN UPLOADED.

    I HAVE SPENT 6 HOURS TRYING TOO….

    according my cpanel (godaddy account linux server php 5.0) this is the path:

    /home/creadorwebcr/wp-content/uploads/fotosclientes/

    Please help me…

    Thank you

  58. Bernardo says:

    Hello All, now i am able to upload the images – the issue of the path is so strange, but anyway, the code i am using is:

    [wordpress_file_upload dragdrop="false" uploadpath="/fotosclientes%username%/" uploadrole="subscriber" maxsize="1500" useftpdomain="true" showtargetfolder="true" adminmessages="true" uploadtitle="Cargar Imágenes" selectbutton="Seleccionar/Seleccionar" uploadbutton="Cargar/Cargar" targetfolderlabel="Ruta:" successmessage="Imagenes ya cargadas" warningmessage="Imagenes cargadas pero con advertencias" errormessage="Imagenes no cargadas" waitmessage="Cargando" notify="true" notifyrecipients="%useremail%" notifyheaders="Imágenes cargadas a jbp" notifysubject="Imágenes cargadas a jbp" notifymessage="Gracias %username% %n%%n%sus imágenes han sido cargadas al servidor de jbp" filebaselink="true"]

    And this code uploads the images / files into:
    wp-content/fotosclientes/%username%/

    Having in count i should create the files for the username previously

    IS THERE ANYWAY THE PLUGIN create the file dor the username?

    Thank you.

    I GOT IT AFTER 6 HOURS OF TRYING….

    Bernardo
    http://www.creadorwebcr.com

  59. HELLO, CONGRATULATIONS, THE PLUGIN IS EXACTLY WHAT I WAS LOOKING FOR.

    I paid for pro, great solution.

    I installed in godaddy server, wordpress, php 5.0 without problem – on http://www.jbpcr.com

    some suggestions:

    1. Using a more simple and friendly re captcha.
    2. setting email notification to be send yo the user and to the owner of the website
    3. on installation instructions. show some examples of the shortcode.

    Again, congratulations.

    Bernardo
    http://www.creadorwebcr.com
    Costa Rica

  60. George Kubinyi says:

    Hi,

    I get the following issue when trying an upload:

    Upload failed! Unknown error.
    Failed upload path: gustafson-logo.png
    fileupload:Session failed!

    Session Data:
    Array ( [wfu_create_dir_error] => Error: name contains invalid characters! Please correct. [wfu_create_dir] => Array ( [newname] => user_uploads ) [wfu_token_1] => 11039657665317d046e51c29.72613282 [wfu_check_refresh_1] => do not process )

    Post Data:
    Array ( [action] => wfu_ajax_action [params_index] => 6RHyWwXH7nZ153Z9 [subdir_sel_index] => -1 [session_token] => 8916800865317d045d87e73.13551814 [unique_id] => BKNvg2FsA6 )

  61. Riyaz says:

    [wordpress_file_upload singlebutton="true" uploadpath="uploads/demo" uploadrole="all" maxsize="200" dublicatespolicy="maintain both" uniquepattern="datetimestamp" adminmessages="true" debugmode="true" notify="true" attachfile="true"]

    Dear Admin,

    The file not uploaded.

    Failed upload path: loym.txt
    fileupload:Session failed!

    Session Data:
    Array ( [wfu_token_1] => 182155253183ca4d56316.30137835 [wfu_check_refresh_1] => do not process )

    Post Data:
    Array ( [action] => wfu_ajax_action [params_index] => AEkCLdmmejFnzd4m [subdir_sel_index] => -1 [session_token] => 76073296753183c9cb52df2.45356897 [unique_id] => gaEVm8Pr0l )

    Could you please help on this.

    • admin says:

      What happens if you use the plugin with the most simple options like: [wordpress_file_upload uploadpath="uploads/demo" adminmessages="true" debugmode="true"] ? Does the problem persist?

      Do you use the latest version?

  62. Aaron says:

    Hello,
    I recently purchased the pro version of your plug in. I was curious if you have any detailed documentation? I am having problems pathing out the plug in.

    thanks

  63. Derek says:

    Been browsing for a way for users to upload images via the front end and your plugin seems perfect. We purchased the pro version but I have a question. Am I able to use this shortcode with our form? I need to run certain functions for each file uploaded — can you direct me on where or how to do that?

    • admin says:

      Do you want to run some PHP functions when a file is uploaded? If yes, then I must do some modifications to the plugin and add a custom action… let me know in more details what so you want to do….

  64. slasze says:

    Hello.
    My problem with upload to external ftp server – not same domain as wordpress.

    Shortcode:
    [wordpress_file_upload uploadpath="Uploads/%username%" uploadrole="administrator,author" maxsize="1000" createpath="true" accessmethod="ftp" ftpinfo="xxx\:xxx\@ftp3.taniadrukarnia.eu" useftpdomain="true" dublicatespolicy="maintain both" adminmessages="true" forceclassic="true" debugmode="true" widths="progressbar:300px" heights="progressbar:10px"]

    File size < 100 kB

    This plugin creates a directory, but does not upload the file.
    Answer:
    Upload failed!
    Targer folder doesn't exist.
    Failed upload path: ftp://xxx:xxx@ftp3.taniadrukarnia.eu/Uploads/slasze/4062759009.pdf

    Username and password do not contain special characters (:;!@ etc.)

    Where do bug?

    Slasze

    • admin says:

      Is ftp3.taniadrukarnia.eu/Uploads/slasze/ the correct folder where the files should go? Have you checked with an FTP client to see that it does exist?

      • slasze says:

        Yes, the directory is correct and can see it by ftp client. “Uploads” directory I created, and the subdirectory “slasze” created a plugin – variable “%username%”.
        I have just removed the subfolder “slasze” and run plugin. Subfolder “Uploads/slasze” has been created, but the file transfer failed.

        ftp server log:
        “mar 14 09:19:55 serwer proftpd[11694] serwer.taniadrukarnia.eu (31.170.166.21[31.170.166.21]): FTP session opened.
        mar 14 09:19:56 serwer proftpd[11694] serwer.taniadrukarnia.eu (31.170.166.21[31.170.166.21]): Preparing to chroot to directory ‘/home/tdrukarnia/ftp’
        mar 14 09:19:56 serwer proftpd[11694] serwer.taniadrukarnia.eu (31.170.166.21[31.170.166.21]): USER xxx: Login successful.
        mar 14 09:19:56 serwer proftpd[11694] serwer.taniadrukarnia.eu (31.170.166.21[31.170.166.21]): FTP session closed.”

      • slasze says:

        Trying to upload a larger file 11MB.

        ” Upload failed! Unknown error.
        Failed upload path: Arts_black_and_white.rar
        fileupload:
        Request Entity Too Large
        The requested resource
        /wp-admin/admin-ajax.php
        does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.”

        It seems that it is not exercised direct the client to the ftp server, but the file is sent to the hosting with wordpress POST method and only with the server you are connecting with ftp.

        So does this plugin:
        My computer –> (POST method) –> WordPress hosting –> (??? method) –> ftp server

        So it probably should look like:
        My computer –> (tunnel created by plugin – FTP method) –> ftp server

  65. Ladha says:

    Hi

    It seems that the plugin is only visible when i am logged in as admin. As soon as i log out, the file upload button on the page disappears. Is there a way to resolve this?
    Thanks

    • admin says:

      Yes, this is the default behavior of the plugin. It allows upload of files only to admins. To allow other roles to upload files as well (so the plugin will be visible to them) set attribute uploadrole, e.g. uploadrole=”editor, author”. To allow everyone to upload files (even guests) set uploadrole=”all”….

  66. Gaetan says:

    Hello,

    I’m trying to use WP File Upload (pro) but i’m unable to upload a file. Even with a basic shortcode.

    Failed upload path: img.jpg
    fileupload:Session failed!

    Session Data:
    Array ( )

    Post Data:
    Array ( [action] => wfu_ajax_action [params_index] => F6QOqyj6FmXbxrxw [subdir_sel_index] => -1 [captcha_challenge] => _0 [chunk_data] => 0,0,0,0, [session_token] => 71553351753277a01a53405.38186980 [unique_id] => g2JoIToqt6 )

    I’m using WP 3.8.1 with the Divi Theme from Elegant Theme.
    On the same server but in another site with the same version of wordpress, the plugin works.

    Anyone can help me please ?

    Thanks

    • admin says:

      Hi, I see that session array is empty. This usually happens because another plugin clears session variables (which should not happen). Can you please deactivate your other plugins and try again?

      Nickolas Bossinas
      http://www.iptanus.com

      • Gaetan says:

        I just try this but nothing change :/

      • Gaetan says:

        I use Divi theme from Elegant Theme, it can be the problem ?

        My plugins are the followings:

        - Admin bar disabler
        - Contact form 7
        - GA Google Analytics (but I install it after)
        - Google XML Sitemap (installed after too)
        - Shortcodes ultimate
        - Woo Commerce
        - WP Members

        Thanks

  67. James says:

    This plugin will be great if I can get it straightened out…

    Small uploads work fine up to about 6-7MB. Once I get larger than that, transfers fail. I don’t get a status that it failed, the screen redraws, and it looks like I just loaded the page.

    Turning on debug and shutting off every plugin except for WPFU, and using the default 2014 theme on 3.8.1, I get these messages when debug is turned on:

    Notice: wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/wordpress/wp-includes/functions.php on line 3049 Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/wordpress/wp-includes/functions.php on line 3049

    Notice: Undefined offset: 1 in /var/www/wordpress/wp-content/plugins/wordpress-file-upload/lib/wfu_blocks.php on line 53

    Here’s the shortcode:

    [wordpress_file_upload uploadpath="uploads/clients/%username%" uploadrole="administrator" maxsize="100" createpath="true" askforsubfolders="true" chunk="true" debugmode="true"]

    I’ve tried several different options and they all produce the same results. I do have the Pro version.

    Any thoughts?

    • admin says:

      Please remove askforsubfolders attribute, although I do not think that this is the problem. The page should not reload itself. This is not caused by the plugin (or it shouldn’t normally) but it causes the upload script to be interrupted, so upload fails without any error. This means that another script reloads the page automatically after some time. This is probably why small files manage to get uploaded and large don’t.

      Is it possible to give me access to the page so that I can try myself and see what happens?

      Nickolas Bossinas
      http://www.iptanus.com

      • James says:

        Check your “info” email. You should have a UID/PW there that will give access. Once in you’ll be at a page that contains WPFU with the following settings:

        [wordpress_file_upload uploadpath="uploads/clients/%username%" uploadrole="wpc_client,wpc_client_staff" maxsize="1000" createpath="true" chunk="true" debugmode="true"]

  68. Alfeu says:

    How can I save settings in shotcode composer

  69. Joe says:

    I’m using WordPress File Upload and can’t seem to find a way to make the userdata fields have a nice tabular format. The labels are all of different length and that staggers the data entry fields. Help please!

    Shortcode used is:

    [wordpress_file_upload uploadpath="uploads/RawMP3s" uploadpatterns="*.mp3" showtargetfolder="true" askforsubfolders="true" subfoldertree="RawMP3s" adminmessages="true" uploadtitle="Upload file" notify="true" notifyrecipients="itsastretch@dslextreme.com" notifymessage="Dear Recipient,%n%%n% This is an automatic delivery message to notify you that a new file has been uploaded.%n%%n%File Name:%userdata5%%n%Title: %userdata1%%n%Description: %userdata2%%n%Reader:%userdata3%%n%Project: %userdata4%%n%%n%Best Regards" widths="filename:200px, selectbutton:80px, uploadbutton:80px, progressbar:190px, message:400px, userdata:400px" userdata="true" userdatalabel="Title:/*Description:/*Reader:/*Project:/*File Name:"]

  70. Ricardo says:

    Hi.

    I purchased the pro version, and now I have a question about the captcha. Is it possible to choose the difficulty of the captcha? I’m asking this because the captcha is too hard to solve. Is there a way to choose a captcha more easy?

  71. Dennis says:

    Great plugin, well done.
    One feature I would like to see is the ability to have the full download link sent to email. For larger files this would be easier on all concerned.

    Great job
    Dennis

  72. Ray says:

    I keep getting target folder doesn’t exist but I have the createpath=”true” in my code. Also, how is this plugin handling authenticating the ftp user? I only see the secion ftpinfo=”%username%@xxxxx.com” What about the ftp user account password?
    Thanks, great plugin by the way.

    • admin says:

      what is your uploadpath attribute?

      • Ray says:

        I have changed it many times since the post to try to resolve it on my own so please bear with me. Here are a couple of the attributes I have tried,
        uploadpath=”/ArcVault/%username%” and I’ve tried uploadpath=”XXX/ArcVault/%username%/” and I’ve tried changing the actual folder names on the server to lowercase as well so uploadpath=”arcvault/%username%”
        I am using the lastest version 2.3.1 of the plugin but I am not able to reset the shortcode composer to start over. Thank you for your help.

  73. Heather says:

    Hello,
    I can’t seem to get this plugin to operate. I keep getting errors such as:

    Failed upload path: PiggieGinger400.jpg
    fileupload: Session failed!

    Session Data:
    Array ( [wfu_token_1] => 155169010153370aebc63ec2.88518919 [wfu_check_refresh_1] => do not process )

    Post Data:
    Array ( [action] => wfu_ajax_action [params_index] => EROX8KR2PmReQTfN [subdir_sel_index] => -1 [session_token] => 73943108653370aea0dd032.00899572 [unique_id] => 7szyuiPJar )

    I’ve tried a number of different configurations of the shortcode, but none seem to work. Can you please advise?

    Thanks,
    Heather

  74. Shree says:

    Is it possible admin know which user uploaded a file ?

    • admin says:

      Good point! No it is not implemented yet. A logging feature is under development, so that admin can view upload events with details (upload user, upload date and page). It will be accessible from the Dashboard….

    • Mike says:

      Yes, it is possible. It requires two things. First, in the upload path, put “%username%”; I actually use “users/%username%” so that all the uploads go to a specific folder under the user name.

      Then, make sure to have the following in your notification email subject line.
      “%username% has uploaded a file.”

      I also have in the Email Body:
      “This is an automatic delivery message to notify you that a new file has been uploaded by %username% to %filepath%.”

      Then the message I got was:
      This is an automatic delivery message to notify you that a new file has been uploaded by Contribute to /home2/dollardy/public_html/idxcellent/wp-content/users/Contribute/3-biggest-mistakes-youre-making-with-your-wordpress-site-rev.1.1.pdf.

      It gives me the user name and the name of the actual file that was uploaded. That will work for users that are logged in, but could be confusing if you are allowing guests to upload files.

      I hope that helps,
      Mike

  75. Mike says:

    I am having trouble getting this plugin to work right. I am using the following short code:

    [wordpress_file_upload uploadpath="users/%username%" uploadrole="administrator,subscriber" maxsize="500" createpath="true" dublicatespolicy="maintain both" uniquepattern="datetimestamp" redirect="true" redirectlink="http://idxcellent.dollardynamics.biz/upload-thanks" notify="true" notifyrecipients="mike@dynamicwebshop.com" notifysubject="%username% has uploaded a file." notifymessage="Dear Recipient,%n%%n% This is an automatic delivery message to notify you that a new file has been uploaded by %username% to %filepath%.%n%%n%Best Regards%n%"]

    It uploads the file, but does not send an email. I get emails if I add a user, etc., so I know that sending isn’t the problem. What am I missing?
    Thanks,
    Mike

    • admin says:

      What browser are you using? Can you please try using different browsers (Chrome and Firefox)?

      Sometimes this happens because a specific plugin is preventing emails being sent from other plugins? Are there any plugins, other than WordPress File Upload, that send emails? Can you disable them and try again?

      Let me on results…

      • Mike says:

        I was using Firefox V28, but I tried Chrome and it worked with Chrome. Not sure why Firefox won’t send with this plugin. It works with the native WordPress email send and there is not another plugin that sends email.
        Thanks,
        Mike

  76. Mike says:

    The other problem I am having is that it keeps overwriting the Email Subject and Email Body with %username% and the Upload Role.

    And one last question I have is how do I enable multiple file uploads? I do not see a place to set this to “True”. Maybe I was given the wrong link and got the light version instead of Pro?
    Thanks,
    Mike

    • admin says:

      Can you please be more specific about the “The other problem I am having is that it keeps overwriting the Email Subject and Email Body with %username% and the Upload Role.”??? Can you give me an example?

      You can set multiple=”true” in the shortcode. It is also inside the Shortcode Composer of the Dashboard, in General Tab under section “Basic Functionalities”. If you don’t see it, then you probably have the free version!!! How did you download the plugin?

      • Mike says:

        More on the other problem I am having about it overwriting the Email Subject and Email Body. I set it up with the following:

        The original contents of Email Subject was:
        %username% has uploaded a file.

        The original contents of Email Body was:
        Dear Recipient,
        This is an automatic delivery message to notify you that a new file has been uploaded by %username% to %filepath%.
        Best Regards

        After I go out of that tab, say to another page in the admin panel and then come back, I find that it has substituted the following:
        Email Subject:
        administrator,subscriber0

        Email Body:
        administrator,subscriber1

        As for the ability to set multiple file uploads, in my General tab under “Basic Functionalities”, I have the following three options:

        Plugin ID

        Single Button Operation

        Upload Path

        I downloaded the plugin from the link I got in my confirmation email. It had the following:

        WordPress File Upload Pro
        Download: wordpress-file-upload-2.3.1.zip

        I thought it was strange that the plugin wasn’t named Pro, but I recognized that it was different than the wp-file-upload-2.3.1.zip name that I downloaded as the free one. Did I get the right file?
        Thanks,
        Mike

      • Mike says:

        Just an update: I set multiple=”true” in the shortcode, but it made no difference.
        Thanks,
        Mike

  77. Jay Cee says:

    Hi there! I love your plugin, it’s light, simple and easy. Anyway, I have a question: how do I increase the distance between the lines? The boxes are vertically too close together. Thanks a lot for your time and help. :)

    • admin says:

      There is a height attribute that you can use (for syntax use the Shortcode Composer inside plugin’s Dashboard Settings). In case this does not solve your problem, then you will have to use custom css code. For the moment there is no custom css option in the plugin, so you will have to use your theme’s custom css section. The new version of the plugin will have a custom css attribute. If you don’t know how to use css, let me know so that I can help you.

      Nickolas

  78. Wolfgang says:

    I’ve tried half a day to get it running with
    WordPress 3.8.2, Twenty Ten and a few plugins. Finally wp-typography turned out to be the grinch:

    When activated: just page title is diplayed.
    When deactivated: WordPress File Upload works as described.

    Thanks for the excellent plugin.

    Best regards
    Wolfgang

  79. BM S says:

    I just bought and installed the Pro version. I have the file uploader working on a page through the browser, but unfortunately the uploader UX does not render on my Samsung Galaxy Note 3 with Chrome Browser. Please advise. Thanks!

    • BM S says:

      Oh no… The file upload UX doesn’t load in Safari on my Mac either :( What am I missing here?

    • BM S says:

      Also doesn’t render in IE on Windows 8. Surely I’m missing something here. What good is this plugin if it only renders in Chrome and Firefox? :)

  80. BM S says:

    I would like to add “Name” and “Email” text inputs, and also a “Comments” text area to my multi-file upload form. I see the “Additional Fields” tools, but frankly, when I add these fields, they look terrible :( The form element labels do not line up well, and the overall file upload experience is compromised. Ideas? Thanks!

1 Pings/Trackbacks for "WordPress File Upload"

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>