Add From Server

Beschreibung

This plugin offers limited support. Please do not expect new features or too many bugfixes. Features may be removed at any time.

Add From Server is designed to help ease the pain of bad web hosts, allowing you to upload files via FTP or SSH and later import them into WordPress.

This plugin is NOT designed to..
* Be used as a replacement for the file uploader
* Be used for migration of websites
* Re-import your files after moving webhosting
* Batch import media

This plugins IS designed to..
* Import files which are larger than your hosting allows to be uploaded.
* Import files which are too large for your internet connections upload speed.

WordPress does a better job of file uploads than this plugin, so please consider your needs before you use it.

You may also want to look at using WP-CLI for media import purposes:
https://developer.wordpress.org/cli/commands/media/import/

FAQ

How can I import files from other folders?

In 3.4, the plugin changed to limit the directories you can import files from.
If you wish to import files from other folders, you need to add the ADD_FROM_SERVER constant to your wp-config.php file.
For example:
define( ‚ADD_FROM_SERVER‘, ‚/www/‘ );

Warum ist die Datei, die ich importieren möchte, rot hinterlegt?

WordPress erlaubt zur Verbesserung deiner Sicherheit nur den Import/Upload bestimmter Dateitypen.
Wenn du weitere Dateitypen hinzufügen möchtest, kannst du ein Plugin wie https://wordpress.org/extend/plugins/pjw-mime-config/ benutzen. Du kannst auch global „Ungefilterte Uploads“ für WordPress erlauben, wenn du diese Sicherheitsfunktion überschreiben möchtest. Bitte schau dir weitere Informationen im WordPress-Support-Forum an.

Wo werden die Dateien gespeichert?

Wenn du eine Datei importierst, die außerhalb deines normalen Upload-Verzeichnisses (normalerweise wp-content/uploads) liegt, wird sie wie üblich in dein aktuelles Upload-Verzeichnis kopiert. Wenn du dagegen eine Datei importierst, die bereits in deinem Upload-Verzeichnis liegt (zum Beispiel wp-content/uploads/2011/02/superplugin.zip), dann wird die Datei nicht kopiert, sondern benutzt, so wie sie ist.

Ich habe einen Fehler gefunden

You can report bugs on GitHub and get support in the WordPress.org Support Forums.

Rezensionen

17. Juni 2021
Strangely, the plugin doesn't work on localhost. I cannot load files into the media library that were previously stored in a local folder of the corresponding WP installation...
4. Juni 2021
So I had to clone my site. Somehow none of the images stored in /wp-content/uploads/201X/## made it. I had lots of blog entries and pages with linked content. I did have a solid copy of the site on my local computer. I used FileZilla FTP to copy the original content back into /wp-content/uploads/... Everything looked good, but it just didn't work. Links would not work. I picked up this plugin to hopefully put everything back together. Odd thing was, the plugin couldn't see the original stuff either. Of the 40 folders I had within /wp-content/uploads/(year)/(Month) there was only one folder visible in the plugin... and that was the current year/month. With that I realized I may have the wrong file attributes set within the server. The current year month had file attributes "755" everything else had "744". Oops. FTP tool, Change file attributes, Numeric value 755, yes on Recurse into subdirectories, and TaaaaDaaa Success! My naming structure is intact, so I don't have to update any blog entries or page content So apparently I didn't actually need this plugin, but without it I wouldn't have been able to see what was causing the troubles. Many thanks to the support team for this plugin.
27. März 2021
This great plugin has helped me many times over the years to quickly add missing images to the media library after server migration. Each time I use it, it does a perfect job of restoring missing images! Thank you for this essential plugin!
3. März 2021
I use this plugin to have a custom location for my digital downloads on my server for WooCommerce. So instead of manually adding the URL location, I just use this to port it into WordPress and then search the media for the digital download to make my product page. Saves time. So I go to my Cpanel, to my custom file location for WooCommerce, upload new digital download, Make or edit product page, click media, use this plugin to find the file and import it to media. Now add it to product data "add File". Super helpful, a better way to keep track of the downloads instead of WordPress date folder structure system 🙂
Alle 226 Rezensionen lesen

Mitwirkende & Entwickler

„Add From Server“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Add From Server“ wurde in 17 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Add From Server“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

3.4.5

  • Fix a fatal error when WordPress or PHP requirements are not met.

3.4.4

  • Simplify the date handling

3.4.3

  • Better handling for / as the root path
  • Better compatibility with certain WordPress docker images
  • Better handling for some empty folders

3.4.2

  • Restore case insensitive alphabetical sorting

3.4.1

  • Plugin now requires WordPress 5.4+

3.4

  • The plugin now requires WordPress 5.1+ and PHP 7.0+. No reason other than why not.
  • Bumps the version to stop the invalid vulnerability warnings.
  • Cleans up code.
  • Removes the User Access Control. Any user with File Upload ability can now use the plugin.
  • Removes the Root Directory Control. The root directory is now assumed. You can use the ADD_FROM_SERVER constant to change it.
  • Removes the Quick Jump functionality.
  • Removes the ability to be able to select the date for imported media. It’s always today. Or, the 1st of the month if it’s stored in a dated folder.
  • Removed Media Manager integration, as it’s no longer shown with the WordPress Block Editor. Classic Editor is not supported by this plugin.