Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "http-sftp", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Transfer files from http links to SFTP", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,6 +22,6 @@ # http-sftp | ||
var link = 'https://raw.githubusercontent.com/request/request/master/README.md'; | ||
client.send(link, scpOpts, function(err, resp){ | ||
var destination = '/public/test.txt'; | ||
client.send(link, scpOpts, destination, function(err, resp){ | ||
err ? console.error(err) : console.log('completed transfer'); | ||
}); | ||
``` |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34908