Sandhog
Member
Posted 2 years ago #
Whether I FTP a file or upload it from the Media library, it's in the same wd-content/upload folder. Yet the media library only shows the ones uploaded there. Does anyone know why the ones I FTP'd doesn't show up in the media library? I'm really going crazy. Please help me!!
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
You can't FTP into the media library. It doesn't work that way. When WordPress uploads files it stores the image in the uploads directory (by default) and also stores information about the image in the database. If you upload via ftp the database information is missing.
I've though about building something to scan the uploads directory and update the DB, but that has to wait until I'm not sure when.
If you must use FTP, there is the option of the following plugin to add FTP'ed uploads into the media library.
http://wordpress.org/extend/plugins/add-from-server/
s_ha_dum (was apljdi)
Member
Posted 2 years ago #
Well that plugin saves me the trouble. :)
Popular question.. i think it was Michael who initially pointed it out to me, very handy plugin considering how often this question pops up... :)
Oh joy! This may fix the errors I keep getting when trying to use the browser to upload! Thanks!