[WordPress] 外掛分享: Miller Media Server File Import

首頁外掛目錄 › Miller Media Server File Import
WordPress 外掛 Miller Media Server File Import 的封面圖片
全新外掛
安裝啟用
尚無評分
21 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.1+ v1.0.0 上架:2026-02-17

內容簡介

### 總結:
Miller Media Server File Import 使 WordPress 管理員可以直接在伺服器上瀏覽檔案並將其直接匯入到媒體庫中,無需下載和重新上傳。

### 問題與答案:
- Q: 什麼時候使用這個外掛特別有用?
A:
- 當您透過FTP/SFTP遷移檔案並需要在WordPress中註冊它們時。
- 開發人員在伺服器上放置了需要在媒體庫中的資產時。
- 您擁有位於非標準位置的檔案,應該可以通過WordPress訪問。

- Q: 這個外掛有哪些功能?
A:
- 使用AJAX動力的檔案瀏覽器和麵包屑導航。
- 選擇單個檔案或使用“全選”進行批量匯入。
- 重複檔案檢測 - 已在媒體庫中的檔案會被標記。
- 複製或移動來自上傳目錄以外的檔案。
- 限制瀏覽至可配置的根目錄(默認為wp-content)。
- 透過設置限制允許的檔案類型。
- 具有用於程序化訪問的完整REST API。
- 適用於具有upload_files功能的任何用戶角色。

- Q: 有哪些安全特性?
A:
- 通過realpath()邊界檢查的路徑遍歷保護。
- 使用WordPress核心功能進行MIME類型驗證。
- 對所有端點進行功能性檢查(對於瀏覽/匯入使用upload_files,對於設置使用manage_options)。
- 通過WordPress REST API nonce實現CSRF保護。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Miller Media Server File Import」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Miller Media Server File Import lets WordPress administrators browse files already on the server and import them directly into the Media Library — no need to download and re-upload.
This is useful when:

You’ve migrated files via FTP/SFTP and need to register them in WordPress
A developer has placed assets on the server that need to be in the Media Library
You have files in a non-standard location that should be accessible through WordPress

Features:

AJAX-powered file browser with breadcrumb navigation
Select individual files or use “Select All” to import in bulk
Duplicate detection — files already in the Media Library are flagged
Copy or move files from outside the uploads directory
Restrict browsing to a configurable root directory (defaults to wp-content)
Limit allowed file types via settings
Full REST API for programmatic access
Works with any user role that has the upload_files capability

Security:

Path traversal protection via realpath() boundary checks
MIME type validation using WordPress core functions
Capability checks on all endpoints (upload_files for browse/import, manage_options for settings)
CSRF protection via WordPress REST API nonces

延伸相關外掛

文章
Filter
Apply Filters
Mastodon