Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
url-to-sftp
Advanced tools
Readme
A library for transferring files from an http link to an SFTP server.
$ npm install url-to-sftp
var client = require('url-to-sftp');
var scpOpts = {
host: 'test.rebex.net',
username: 'demo',
password: 'XXXXXX' //you can also use `privateKey` with a key file and omit password
path: ''
}
var link = 'https://raw.githubusercontent.com/request/request/master/README.md';
var destination = '/public/test.txt';
client.send(link, scpOpts, destination, function(err, resp){
err ? console.error(err) : console.log('completed transfer');
});
Transfer an http file to SFTP
FAQs
Transfer files from http links to SFTP
The npm package url-to-sftp receives a total of 0 weekly downloads. As such, url-to-sftp popularity was classified as not popular.
We found that url-to-sftp 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.