Hi!
I´m trying configure a connection withe the plugin strapi-provider-upload-ftp-v2 in strapi v4 and when i try to start the strapi i have the next warning on the console
(node:33301) Warning: The upload provider "strapi-provider-upload-ftp-v2" doesn't implement the uploadStream function. Strapi will fallback on the upload method. Some performance issues may occur.
(Use `node --trace-warnings ...` to show where the warning was created)
I put the plugin.js in the config/env/production folder and the plugins.js
module.exports = ({ env }) => {
const host = env("FTP_HOST");
const user = env("FTP_USER");
const password = env("FTP_PASSWORD");
const basePath = env("FTP_BASEPATH");
const baseUrl = env("FTP_BASEURL");
if (!host || !user || !password || !basePath || !baseUrl) return {};
return {
upload: {
config: {
provider: "strapi-provider-upload-ftp-v2",
providerOptions: {
host,
port: env.int("FTP_PORT", 22),
user,
password,
basePath,
baseUrl,
}
},
},
};
};