Title: Problem Uploading Files
Last modified: August 18, 2016

---

# Problem Uploading Files

 *  [kamatsu](https://wordpress.org/support/users/kamatsu/)
 * (@kamatsu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/)
 * I think i have a permissions problem uploading files here.
 * First I got an error saying WordPress cannot create directories in the wp-content/
   upload folder, so I created them manually and chmodded them to have permissions,
   but now i get this error:
 * `
    Warning: move_uploaded_file(/home/kamatsu/public_html/wp-content/uploads/2005/
   12/1.jpg): failed to open stream: Permission denied in /home/kamatsu/public_html/
   wp-admin/admin-functions.php on line 1757  Warning: move_uploaded_file(): Unable
   to move '/tmp/php8O9Z4k' to '/home/kamatsu/public_html/wp-content/uploads/2005/
   12/1.jpg' in /home/kamatsu/public_html/wp-admin/admin-functions.php on line 1757
   The uploaded file could not be moved to .
 * I think it’s something to do with .htaccess files, as they are not present in/
   wp-content or any of it’s subfolders and all the posts i’ve read seem to assume
   they exist. What should I do to allow uploading to work?

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

 *  [skeltoac](https://wordpress.org/support/users/skeltoac/)
 * (@skeltoac)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/#post-305139)
 * Check whether your web server (httpd?) has permission to write to the directory
   wp-content/uploads/2005/12.
 *  Thread Starter [kamatsu](https://wordpress.org/support/users/kamatsu/)
 * (@kamatsu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/#post-305146)
 * I’m hosting mine externally i.e with Cpanel + Apache on a linux server. How would
   I be able to do this? I resell my own hosting so i have access to the WHM if 
   necessary.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/#post-305151)
 * The `/wp-content/` directory and all upload directorys need to have their permissions
   set to 777 (CHMOD 777). You can set this with any FTP client.
 *  Thread Starter [kamatsu](https://wordpress.org/support/users/kamatsu/)
 * (@kamatsu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/#post-305164)
 * Yes i already said i’ve chmodded all permissions.
 *  Thread Starter [kamatsu](https://wordpress.org/support/users/kamatsu/)
 * (@kamatsu)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/#post-305166)
 * Oh problem solved. My webhost had a restriction that kept de-chmodding my folders
   to 755.. >< So i yelled at him until he fixed it.

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

The topic ‘Problem Uploading Files’ is closed to new replies.

## Tags

 * [uploading](https://wordpress.org/support/topic-tag/uploading/)

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 5 replies
 * 3 participants
 * Last reply from: [kamatsu](https://wordpress.org/support/users/kamatsu/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/problem-uploading-files-2/#post-305166)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
