Title: Allow single upload per instance
Last modified: August 31, 2016

---

# Allow single upload per instance

 *  Resolved [gkeinan](https://wordpress.org/support/users/gkeinan/)
 * (@gkeinan)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/allow-single-upload-per-instance/)
 * Hi,
 * I’m using this plugin to allow users to upload photos to my website and it seems
   to work very good.
 * However, after a user uploads a file the upload instance clears and he can use
   that same instance to upload another file (without limitation).
    How can I limit
   the upload to only one file per instance?
 * Thanks,
    Gal.
 * [https://wordpress.org/plugins/wp-file-upload/](https://wordpress.org/plugins/wp-file-upload/)

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

 *  Plugin Author [nickboss](https://wordpress.org/support/users/nickboss/)
 * (@nickboss)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/allow-single-upload-per-instance/#post-7030939)
 * So you want every user to be able to upload only one file?
 *  Thread Starter [gkeinan](https://wordpress.org/support/users/gkeinan/)
 * (@gkeinan)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/allow-single-upload-per-instance/#post-7030942)
 * Yes, exactly.
 * Actually, in the meantime I’ve managed to implement it using the ‘after_file_upload’
   filter and a little modification to the js code. I prevented the ‘unlock_upload’
   in case the file upload was successful and it works fine for now.
 * Thanks anyway,
    Gal.
 *  Plugin Author [nickboss](https://wordpress.org/support/users/nickboss/)
 * (@nickboss)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/allow-single-upload-per-instance/#post-7030958)
 * ok if you anything let me know

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

The topic ‘Allow single upload per instance’ is closed to new replies.

 * ![](https://ps.w.org/wp-file-upload/assets/icon-256x256.png?rev=3252590)
 * [Iptanus File Upload](https://wordpress.org/plugins/wp-file-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-file-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-file-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-file-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-file-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-file-upload/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [nickboss](https://wordpress.org/support/users/nickboss/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/allow-single-upload-per-instance/#post-7030958)
 * Status: resolved