Title: Add From Server
Author: Dion Hulse
Published: <strong>2008 年 3 月 12 日</strong>
Last modified: 2020 年 12 月 11 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/add-from-server.svg)

# Add From Server

 由 [Dion Hulse](https://profiles.wordpress.org/dd32/) 開發

[下載](https://downloads.wordpress.org/plugin/add-from-server.3.4.5.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/add-from-server/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/add-from-server/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/add-from-server/#developers)

 [技術支援](https://wordpress.org/support/plugin/add-from-server/)

## 外掛說明

這個外掛僅提供有限度的技術支援，請不要預期會有新功能或常態性程式碼錯誤修正，也可能
隨時會移除指定功能。

Add From Server 主要用於降低不良網站主機所造成的困擾，讓網站管理員透過 FTP 或 SSH
上傳檔案，然後匯入至 WordPress 網站。

這個外掛**無法**用於…
 * 取代檔案上傳程式 * 移轉網站 * 網站更換主機商後，重新匯入
網站檔案 * 批次匯入媒體檔案

這個外掛**可以**用於…
 * 匯入檔案大小超過主機代管服務商限制的檔案 * 匯入檔案大小
大到會影響網際網路連線上傳速度的檔案

WordPress 處理檔案上傳的方式比這個外掛更好，在使用這個外掛前，請審慎思考外掛使用
目的。

也可以參考 WP-CLI 的媒體匯入方式：
 [wp media import](https://developer.wordpress.org/cli/commands/media/import/)

## 常見問題集

### 如何從其他資料夾匯入檔案？

從 3.4 版開始，這個外掛變更為會限制匯入檔案的來源目錄。
 如果想從其他資料匯入檔案，
必須在網站的 wp-config.php 檔案中加入 `ADD_FROM_SERVER` 常數。 範例如下： `define('
ADD_FROM_SERVER', '/www/' );`

### 為何在匯入檔案時出現紅色背景？

為了提供網站安全性，WordPress 僅能匯入/上傳指定檔案類型。
 如果想為網站加入額外的
檔案類型，請使用 [PJW Mime Config](https://tw.wordpress.org/plugins/pjw-mime-config/)
之類的外掛，這樣便能覆寫相關的安全性函式，並為 WordPress 網站啟用全域、未經篩選的
上傳功能。

### 匯入的檔案儲存於何處？

如果匯入非標準上傳目錄 (標準目錄一般為 `wp-content/uploads/`) 中的檔案，便會將檔案
複製至標準上傳目錄。
 如果匯入**已存在於上傳目錄中的檔案** (例如 `wp-content/uploads/
2011/02/superplugin.zip`)，外掛不會複製任何檔案，並使用原有的檔案。

### 如何回報程式碼錯誤？

請前往外掛的 [GitHub 存放庫](https://github.com/dd32/add-from-server)回報程式碼錯誤。
如需取得技術支援，請前往 [WordPress.org 技術支援論壇](https://wordpress.org/support/plugin/add-from-server/)。

## 使用者評論

![](https://secure.gravatar.com/avatar/419decd0e8c84e0e4b69c427ff0aff68d7d01879d07a368a8e46548f996caaf6?
s=60&d=retro&r=g)

### 󠀁[Still working](https://wordpress.org/support/topic/still-working-132/)󠁿

 [Sara Die Webmacherin](https://profiles.wordpress.org/larvafashion/) 2024 年 9 
月 4 日

That “outdated 11 year old plugin that over 100k people still insist on using” (
description from Github) still works perfectly fine and I haven’t found a good alternative.
I would love to see a version update to make it available for installing directly
from Wordpress again.

![](https://secure.gravatar.com/avatar/0f4bc84e6f0011c1ebb9d39283b4b1b4077d54a0a6a3d537295f75faf7dcdc03?
s=60&d=retro&r=g)

### 󠀁[What an amazing Plugin](https://wordpress.org/support/topic/what-an-amazing-plugin-16/)󠁿

 [creativeartworks](https://profiles.wordpress.org/creativeartworks/) 2024 年 4 
月 9 日

Well, first of all, that plugin is amazing. Saved me for sure from unwanted hassle
while importing/updating every day WooCommerce products.Daily about 1500-2000 products
adding or updating, with average 12 images per product, and also about 6-8 technical
documents per product (mostly pdf files), no importer was able to complete a single
run. Having your plugin importing the images into the media library and then matching
images, just did the job. All under 10 minutes ! As i said, that’s an amazing plugin,
and it works fine on a well standing server (I’m on Lite Speed Server, MariaDB, 
PHP 8.4)

![](https://secure.gravatar.com/avatar/a009eaf4ff9e3b249ee3fef3633003cb699538150bb49670ff9c9579854b41fd?
s=60&d=retro&r=g)

### 󠀁[Does not import Folder Structure to Media Library](https://wordpress.org/support/topic/does-not-import-folder-structure-to-media-library/)󠁿

 [Kissington](https://profiles.wordpress.org/kissington/) 2024 年 2 月 23 日

What’s the use of importing files from the server if you can’t import the folder
structure they are in for organization? I expected the plugin to import files and
auto-create a virtual folder in the library which is named after the original folder
from the server. As it is, the files are imported into the media library and mixed
with other files which makes it hard to locate and manage. You will need to re-organize
them manually using a folder plugin like FileBird, which takes a lot of time. Not
worth it. The first requirement for a plugin is automating tasks to eliminate manual
work, otherwise its pointless….

![](https://secure.gravatar.com/avatar/f2949e1420c186ba7fe9eafb8f5c406b6b29ddebb639e7c7da6f93d39b784643?
s=60&d=retro&r=g)

### 󠀁[Very helpful](https://wordpress.org/support/topic/very-helpful-1399/)󠁿

 [Martin Sauter](https://profiles.wordpress.org/martinsauter/) 2023 年 12 月 7 日

This plugin is not only helpful when you need a workaround for files which are too
big for your upload limit, but also if you need to restore a website after something
went wrong. The only feature I miss is a filter that allows to show only the original
images (and not all the different sizes WordPress generates from each image you 
upload).

![](https://secure.gravatar.com/avatar/c910362dbfbd49f8ec8c185f618f4db62e2842297530d6f8bc8cf903d26da6c9?
s=60&d=retro&r=g)

### 󠀁[Great FTP](https://wordpress.org/support/topic/great-ftp/)󠁿

 [nicolasvsedeco](https://profiles.wordpress.org/nicolasvsedeco/) 2023 年 6 月 18
日

Great FTP for those not having FTP login access

![](https://secure.gravatar.com/avatar/88a206616b6f1cb012bb62d436c25dbae94f852821391123393d642f2701bcd0?
s=60&d=retro&r=g)

### 󠀁[I Think](https://wordpress.org/support/topic/i-think-7/)󠁿

 [Anonymous User 20884609](https://profiles.wordpress.org/anonymized-20884609/) 
2023 年 1 月 30 日

it is good plugin (Y)

 [ 閱讀全部 239 則使用者評論 ](https://wordpress.org/support/plugin/add-from-server/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Add From Server〉的開發相關工作。

參與者

 *   [ Dion Hulse ](https://profiles.wordpress.org/dd32/)

〈Add From Server〉外掛目前已有 25 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/add-from-server/contributors)
為這個外掛做出的貢獻。

[將〈Add From Server〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/add-from-server)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/add-from-server/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/add-from-server/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/add-from-server/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/add-from-server/)。

## 變更記錄

### 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.

## 中繼資料

 *  版本 **3.4.5**
 *  最後更新 **5 年前**
 *  啟用安裝數 **60,000+**
 *  WordPress 版本需求 ** 5.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **5.5.18**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [Catalan](https://ca.wordpress.org/plugins/add-from-server/)、[Chinese (Taiwan)](https://tw.wordpress.org/plugins/add-from-server/)、
   [Czech](https://cs.wordpress.org/plugins/add-from-server/)、[Dutch](https://nl.wordpress.org/plugins/add-from-server/)、
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/add-from-server/)、[English (Australia)](https://en-au.wordpress.org/plugins/add-from-server/)、
   [English (Canada)](https://en-ca.wordpress.org/plugins/add-from-server/)、[English (New Zealand)](https://en-nz.wordpress.org/plugins/add-from-server/)、
   [English (US)](https://wordpress.org/plugins/add-from-server/)、[French (France)](https://fr.wordpress.org/plugins/add-from-server/)、
   [Galician](https://gl.wordpress.org/plugins/add-from-server/)、[German](https://de.wordpress.org/plugins/add-from-server/)、
   [German (Switzerland)](https://de-ch.wordpress.org/plugins/add-from-server/)、
   [Greek](https://el.wordpress.org/plugins/add-from-server/)、[Italian](https://it.wordpress.org/plugins/add-from-server/)、
   [Japanese](https://ja.wordpress.org/plugins/add-from-server/)、[Norwegian (Bokmål)](https://nb.wordpress.org/plugins/add-from-server/)、
   [Persian](https://fa.wordpress.org/plugins/add-from-server/)、[Russian](https://ru.wordpress.org/plugins/add-from-server/)、
   [Spanish (Chile)](https://cl.wordpress.org/plugins/add-from-server/)、[Spanish (Colombia)](https://es-co.wordpress.org/plugins/add-from-server/)、
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/add-from-server/)、[Spanish (Spain)](https://es.wordpress.org/plugins/add-from-server/)、
   [Spanish (Venezuela)](https://ve.wordpress.org/plugins/add-from-server/)、[Swedish](https://sv.wordpress.org/plugins/add-from-server/)、
   及 [Vietnamese](https://vi.wordpress.org/plugins/add-from-server/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/add-from-server)
 * 標籤:
 * [admin](https://tw.wordpress.org/plugins/tags/admin/)[import](https://tw.wordpress.org/plugins/tags/import/)
   [media](https://tw.wordpress.org/plugins/tags/media/)[post](https://tw.wordpress.org/plugins/tags/post/)
   [uploads](https://tw.wordpress.org/plugins/tags/uploads/)
 *  [進階檢視](https://tw.wordpress.org/plugins/add-from-server/advanced/)

## 評分

 4.6 星，滿分為 5 星

 *  [  204 個 5 星使用者評論     ](https://wordpress.org/support/plugin/add-from-server/reviews/?filter=5)
 *  [  11 個 4 星使用者評論     ](https://wordpress.org/support/plugin/add-from-server/reviews/?filter=4)
 *  [  4 個 3 星使用者評論     ](https://wordpress.org/support/plugin/add-from-server/reviews/?filter=3)
 *  [  5 個 2 星使用者評論     ](https://wordpress.org/support/plugin/add-from-server/reviews/?filter=2)
 *  [  15 個 1 星使用者評論     ](https://wordpress.org/support/plugin/add-from-server/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/add-from-server/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/add-from-server/reviews/)

## 參與者

 *   [ Dion Hulse ](https://profiles.wordpress.org/dd32/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/add-from-server/)