@norvento/sftp-client
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Norvento sftp client

Doc

Table of Contents

SFTPClient

SFTPClient.

Parameters
listTree

Get all the directory files

Parameters
  • dirPath String the path of the directory
get

Copy the file "remotepath" from the remote server to the "localpath" in the local server

Parameters
  • remotePath String , the remote file path
  • localPath String , the local destination path
getMultiple

Downloads the files form the sftp server to the local destination folder

Parameters
getAsBuffer

Gets the file from the server and returns it as a buffer

Parameters
  • remotePath string the remote server file path
putFile

Uploads a file to the server

Parameters
  • filePath string the local path to the file
  • remotePath string the server remote path
deleteFile

Deletes a file on the server

Parameters
  • remotePath string the server file path

SFTPError

Extends Error

SFTPError

Parameters
  • message string the error message
  • data any the error data
  • originalError Error the original error

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    3
  • 1.0.0
    0
  • 0.9.0
    0
  • 0.8.0
    0

Package Sidebar

Install

npm i @norvento/sftp-client

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

31.9 kB

Total Files

8

Last publish

Collaborators

  • sorozco_norvento
  • yadrio_norvento
  • dcastro_norvento
  • norvento.ds
  • jmouriz_norvento