Title: [Plugin: WordPress Form Manager] Upload sometimes doesn&#039;t work
Last modified: August 20, 2016

---

# [Plugin: WordPress Form Manager] Upload sometimes doesn't work

 *  Resolved [lotsakiki](https://wordpress.org/support/users/lotsakiki/)
 * (@lotsakiki)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/)
 * I’ve noticed that uploads sometimes work and sometimes don’t work. As a general
   pattern, it seems that whenever somebody from another country (in this case Japan)
   tries to upload something, it does not go through in the submission. The uploads
   are limited to PDF files, and the size limit is 10MB. I checked the php.ini file
   so that post_max_size, memory_limit, max_execution_time, etc., are well above
   the 10MB limit set in the form. Any ideas? Any help or advice would be greatly
   appreciated.
 * [http://wordpress.org/extend/plugins/wordpress-form-manager/](http://wordpress.org/extend/plugins/wordpress-form-manager/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [lotsakiki](https://wordpress.org/support/users/lotsakiki/)
 * (@lotsakiki)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/#post-2616275)
 * Hello again, an update on my question. I’ve been able to narrow down the problem
   to filenames that have spaces. Whenever somebody tries to upload a file whose
   filename has a space in it, the file does not get uploaded.
 *  Thread Starter [lotsakiki](https://wordpress.org/support/users/lotsakiki/)
 * (@lotsakiki)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/#post-2616300)
 * Hello…again. The problem was solved by adding:
 * `$filename = str_replace(" ","-",$filename);`
 * after
 * `$filename = $_FILES[$uniqueName]['tmp_name'];`
 * in types/file.php
 * I hope this is helpful for anyone else who may have been experiencing the same
   issue.
 *  Thread Starter [lotsakiki](https://wordpress.org/support/users/lotsakiki/)
 * (@lotsakiki)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/#post-2616350)
 * I feel like an idiot writing so many times, but an upload didn’t work again. 
   This time, one of the uploads worked, but didn’t come up on the post as a link(
   the file itself was found in the folder where things are uploaded). The other
   uploads weren’t uploaded at all.
 *  Thread Starter [lotsakiki](https://wordpress.org/support/users/lotsakiki/)
 * (@lotsakiki)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/#post-2616373)
 * Latest update. Some people uploading files were uploading either the wrong file
   type or a file which was way too big. I guess people have a hard time following
   directions…
 * In the future, I suppose it would help to have some sort of validation or error
   message whenever a file is not the right type or size.
 * Thanks.
 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/#post-2616392)
 * I added this to the list, I’ll try to include it in the next update.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WordPress Form Manager] Upload sometimes doesn't work’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-upload-sometimes-doesnt-work/#post-2616392)
 * Status: resolved