Title: File uploads with 0 bytes
Last modified: August 13, 2020

---

# File uploads with 0 bytes

 *  Resolved [dmcalcada](https://wordpress.org/support/users/dmcalcada/)
 * (@dmcalcada)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/file-uploads-with-0-bytes/)
 * Hello,
    I currently have the free version of your plugin. I’m trying to upload
   a file along with the product. The file does appear in the folder (public_html/
   wp-content/uploads/woocommerce_uploads/alg_uploads/product_input_fields), but
   with 0 bytes. We have no problem whatsoever uploading files through the admin
   page or through other ways. The permissions are correct, as I checked. Any idea?

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

 *  Thread Starter [dmcalcada](https://wordpress.org/support/users/dmcalcada/)
 * (@dmcalcada)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/file-uploads-with-0-bytes/#post-13252087)
 * Ok, I fixed it.
    I had to manually set this variable: $tmp_dest_file = tempnam(“/
   home/cutxicutxi/tmp/”, ‘alg’ );
 * After that, everything worked worderfully. The amount of time I spent finding
   it out, tho……
 *  Plugin Support [kenil802](https://wordpress.org/support/users/kenil802/)
 * (@kenil802)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/file-uploads-with-0-bytes/#post-13267669)
 * Hi [@dmcalcada](https://wordpress.org/support/users/dmcalcada/),
 * Glad that the issue has been fixed on your site.
 * Do let us know if you need any further help from us.
 * Regards,
    Kenil Shah

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

The topic ‘File uploads with 0 bytes’ is closed to new replies.

 * ![](https://ps.w.org/product-input-fields-for-woocommerce/assets/icon-256x256.
   png?rev=2717446)
 * [Product Input Fields for WooCommerce](https://wordpress.org/plugins/product-input-fields-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/product-input-fields-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/product-input-fields-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/product-input-fields-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/product-input-fields-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kenil802](https://wordpress.org/support/users/kenil802/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/file-uploads-with-0-bytes/#post-13267669)
 * Status: resolved