WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a WordPress 3.5.1 driven website.

When trying to upload images via WordPress Media Manager, the below error is displayed: "xxx.jpg has failed to upload due to an error. The uploaded file could not be moved to /xx/xxx/dddd/wp-content/uploads/2013/08."

I know the above Error is related to folders and files permission issue on the server.

The website is running on the Amazon EC2 server which is running on a Amazon Version of Linux "AMI".

When trying to upload image(s) via FTP, WordPress Media-Manager fails to recognize the uploaded image(s). I did a search on the net and found that when using WordPress Media Manager, WordPress makes an entry in the database.

My Question is:

If I upload the image(s) using FTP then which table do I need to update if I want the image(s) to appear in the Media Manager?

share|improve this question
this is not a good idea to add database entries manually, check media upload path and url, try to 0775 file permissions for wp-content and upload directory, if you like to add manually you can do so by creating new post post_type = attachment and attachment post meta .etc – Anjum Aug 19 '13 at 6:31
Hi Anjum, thanks for ur reply.... Before positing this query i did check for all the issue you said but no luck.. After hours of testing I finally came to know the tables associated with image upload.. – mkb Aug 26 '13 at 6:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.