![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
strapi-provider-upload-sftp-v2
Advanced tools
SFTP provider for Strapi CMS file upload.
yarn add strapi-provider-upload-sftp-v2
./extensions/upload/config/settings.json
{
"provider": "sftp",
"providerOptions": {
"host": "<host>",
"port": "<port>",
"user": "<sftp-username>",
"password": "<password>",
"basePath": "<base-path>",
"baseUrl": "<base-url>"
}
}
Base URL
is used to generate the URLs for the files. The file name will be appended to it.
Obs: the value should include a / at the end
Base URL: http://example.com/
File name: image.jpg
File URL: http://example.com/image.jpg
Base PATH
is used to define where, inside FTP, files should be saved.
When uploading a file, this provider will check if there is already a file with the same name on the server. If the file name already exists it will append a counter to the file name that will be incremented until the name is available.
Files in the server:
- file.jpg
- file(1).jpg
File you are trying to upload:
- file.jpg
The file will be uploaded as file(2).jpg
MIT License
Copyright (c) 2020 FInno Consult
FAQs
SFTP provider for Strapi CMS file upload.
The npm package strapi-provider-upload-sftp-v2 receives a total of 623 weekly downloads. As such, strapi-provider-upload-sftp-v2 popularity was classified as not popular.
We found that strapi-provider-upload-sftp-v2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.