FTP storage adapter
Integrates FTP storage with Payload CMS for remote file management.
Installation
pnpm add payloadcms-ftp-storage About
This plugin implements an FTP adapter specifically designed to work with the Payload CMS plugin-cloud-storage. It utilizes the basic-ftp library to handle the file operations over FTP, allowing users to store uploads in a remote server. The integration is straightforward, requiring configuration adjustments in the Payload CMS setup. To use the FTP adapter, you must import it into your Payload CMS configuration file and define it within the cloud storage plugin settings. Users can set parameters like the FTP host, username, password, and target storage endpoint. Files are placed in a directory corresponding to the collection slug, and operations like file upload and deletion are directly reflected in the remote FTP storage. One limitation is that if a file with the same name exists in the remote storage during upload, it will be overwritten. Additionally, files linked to deleted entries in Payload CMS will also be removed from the FTP storage, maintaining a synchronized state.
Package info
- Package name
payloadcms-ftp-storage- Latest version
1.0.2- Unpacked size
- 6 kB
- License
- MIT
- Weekly downloads
- 2
- Last publish
- Apr 5, 2024
More from DrMint
View profileSimilar plugins
More in StorageCloudinary integration
Integrates Cloudinary for media management in Payload CMS.
ImageKit
Sync images to ImageKit storage directly from Payload CMS.
Nextcloud
Nextcloud storage adapter for Payload CMS that uploads files over WebDAV and optionally creates public share links via the Nextcloud OCS API.
ISR revalidation
Integrates ISR-style cache revalidation into Payload CMS for Next.js.
Cloudinary storage adapter
Integrates Cloudinary storage into Payload CMS for media management.
Upstash KV adapter
Integrates Upstash as a key-value storage solution for Payload.