1.0.0 • Published 4 years ago

@fabimc/strapi-provider-upload-ftp-v2 v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

strapi-provider-upload-ftp

FTP provider for Strapi CMS file upload.

Installation

yarn add @fabimc/strapi-provider-upload-ftp

Config

./extensions/upload/config/settings.json

{
  "provider": "ftp",
  "providerOptions": {
    "host": "",
    "port": "21",
    "user": "",
    "password": "",
    "basePath": "",
    "baseUrl": "",
    "sizeLimit": 1000000
  }
}

The sizeLimit parameter must be a number. Be aware that the unit is in KB. When setting this value high, you should make sure to also configure the body parser middleware maxFileSize so the file can be sent and processed. Read more here

Resources

Links

1.0.0

4 years ago