Comparing version 0.0.1 to 0.0.2
@@ -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 ; |
2608
38