Title: file upload error
Last modified: August 18, 2016

---

# file upload error

 *  [sk4sk4](https://wordpress.org/support/users/sk4sk4/)
 * (@sk4sk4)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/)
 * I get the following error when trying to upload a picture via the file upload
   in the ‘Write Post’ screen.
 * Unable to create directory /home/xxxxxx/public_html/wp-content/uploads. Is its
   parent directory writable by the server?
 * I went ahead and created an upload folder and gave it full read write execute
   permissions, but it still didn’t work.
    Does anyone know why this is happening
   or how to fix it? Any help would be much appreciated!!

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323319)
 * The question the script asked you was:
    _Is its parent directory writable by 
   the server?_ – and its parent is wp-content… If that’s writable WP will create
   the directory.
 *  [mandala22](https://wordpress.org/support/users/mandala22/)
 * (@mandala22)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323349)
 * I am having this same problem (I just posted a little while ago on this thread:
   [http://wordpress.org/support/topic/56418](http://wordpress.org/support/topic/56418))
 * My wp-content directory has the correct permissions set but WP still can’t write
   to it. The only way to get it to work is to upload wp-content/uploads/2006/01
   etc as incredipete described, but this seems awfully cumbersome.
 *  Thread Starter [sk4sk4](https://wordpress.org/support/users/sk4sk4/)
 * (@sk4sk4)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323350)
 * is it safe to make that folder writable?
 *  Thread Starter [sk4sk4](https://wordpress.org/support/users/sk4sk4/)
 * (@sk4sk4)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323352)
 * i also tried manually generating the folders that the error referrs to, and even
   then WP still gives me errors
 *  Thread Starter [sk4sk4](https://wordpress.org/support/users/sk4sk4/)
 * (@sk4sk4)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323353)
 * this is the last error i get:
 * Warning: move_uploaded_file(/home/XXXXXX/public_html/wp-content/uploads/2006/
   01/downtimer1.jpg): failed to open stream: Permission denied in /home/XXXXX/public_html/
   wp-admin/admin-functions.php on line 1757
 * Warning: move_uploaded_file(): Unable to move ‘/tmp/phpjsNdU7’ to ‘/home/XXXXXX/
   public_html/wp-content/uploads/2006/01/downtimer1.jpg’ in /home/XXXXXX/public_html/
   wp-admin/admin-functions.php on line 1757
    The uploaded file could not be moved
   to .
 *  Thread Starter [sk4sk4](https://wordpress.org/support/users/sk4sk4/)
 * (@sk4sk4)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323360)
 * check this thread for the solution
 * [http://wordpress.org/support/topic/53768](http://wordpress.org/support/topic/53768)
 * you have to set all the file folders from wp-content on down to full write permissions.
   it is a total pain in the butt.

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

The topic ‘file upload error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [sk4sk4](https://wordpress.org/support/users/sk4sk4/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/file-upload-error/#post-323360)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
