Stores Payload uploads on any FTP server through the cloud storage plugin
SFTP Storage
Stores Payload uploads on a remote server over SFTP through the cloud storage plugin
Installation
pnpm add payloadcms-sftp-storage About
SFTP Storage sends files uploaded to a Payload collection to a remote server over SSH, so media stays on your own host instead of a local disk or a bucket service. Each collection gets its own subfolder under a root path you choose, and files are served from a public URL you set. The connection works with either a private key or a password, and the key can be kept in an environment variable.
Deleting an entry in Payload also deletes the file on the remote server. Uploading a file with the same name as an existing one overwrites the original, so give uploads unique names if you need to keep both.
Package info
- Package name
payloadcms-sftp-storage- Latest version
1.0.1- Unpacked size
- 7 kB
- License
- MIT
- Weekly downloads
- 63
- Last publish
- Apr 6, 2024
More from DrMint
View profileSimilar adapters
More in StorageStores Payload upload files in Cloudflare R2 buckets instead of local disk
Stores collection uploads in Vercel Blob Storage instead of local disk
Stores Payload uploads in Google Cloud Storage buckets, with optional direct browser uploads
Stores Payload uploads in UploadThing file hosting
Stores Payload uploads in Azure Blob Storage, with optional direct browser uploads
Stores Payload uploads in Amazon S3 buckets with optional presigned downloads