
Automating Media Offload in WordPress with FTP, FTPS, and SFTP
I built this plugin to solve a boring but expensive WordPress problem: the media library keeps growing, backups get heavier, and storage on the app server turns into a bottleneck. The core idea is simple. New and existing uploads can be pushed to an external FTP, FTPS, or SFTP destination, then served from a CDN base URL without rewriting attachment data in the database. You can see the full plugin at Nexu FTP Media . Under the hood, I treated media offload as a pipeline instead of a one-click migration. The plugin stores connection settings securely, validates the remote path, scans the library, and builds a transfer queue. For bulk moves, it supports supervised browser-based syncing with parallel uploads, plus a background-friendly workflow for longer runs. That makes large libraries less of a black box. The part I cared about most was compatibility. In real WordPress sites, media URLs show up in attachment functions, generated image sizes, builder output, and cached page content. In
Continue reading on Dev.to Webdev
Opens in a new tab




