Skip to content

fabimc/strapi-provider-upload-ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

strapi-provider-upload-ftp-v2

FTP provider for Strapi v4 file upload.

Installation

yarn add strapi-provider-upload-ftp-v2

Config

./config/plugins.js

module.exports = ({ env }) => ({
  upload: {
    config: {
      provider: "strapi-provider-upload-ftp-v2",
      providerOptions: {
        host: env("FTP_HOST"),
        port: env("FTP_PORT"),
        user: env("FTP_USER"),
        password: env("FTP_PASSWORD"),
        basePath: env("FTP_BASEPATH"),
        baseUrl: env("FTP_BASEURL"),
      },
    },
  },
});

For older strapi versions you'll need to tweak the ./config/plugins.js file, but it has been tested down to version 3.6

Currently the Strapi middleware in charge of parsing requests needs to be configured to support file sizes larger than the default of 200MB in addition to provider options passed to the upload plugin for sizeLimit. Read more here.

Resources

Links

About

FTP provider for Strapi CMS file upload.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published