Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodesftp

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodesftp - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

example/sample.js

@@ -1,2 +0,2 @@

var sftp = require('sftp');
var sftp = require('nodesftp');

@@ -3,0 +3,0 @@ var options = {

{
"name": "nodesftp",
"version": "0.0.1",
"version": "0.0.2",
"description": "a simple sftp client built on top of ssh2",

@@ -5,0 +5,0 @@ "main": "sftp.js",

@@ -8,6 +8,6 @@ # sftp

# functions
## sftpUpload(credentials,remoteFilePath,localFilePath)
## upload(credentials,remoteFilePath,localFilePath)
Uploads the file
```
var sftp = require('sftp');
var sftp = require('nodesftp');

@@ -14,0 +14,0 @@ var options = {

@@ -1,2 +0,2 @@

module.exports = function upload(credentials,pathToRemoteFile,pathToLocalFile){
function upload(credentials,pathToRemoteFile,pathToLocalFile){
var Client = require('ssh2').Client;

@@ -26,1 +26,3 @@

};
module.exports.upload = upload ;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc