Nobel Prize Magnet

    @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

    Keywords

    none

    Install

    npm i @norvento/sftp-client

    DownloadsWeekly Downloads

    6

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    31.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • norvento.ds
    • jmouriz_norvento