1.0.1 • Published 4 years ago
@fabimc/strapi-provider-upload-ftp v1.0.1
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