Represents a SFTP connection.

Hierarchy

  • SFTPClient

Constructors

Methods

  • Change directory to the given path

    Parameters

    • path: string

    Returns void

  • Change properties of given file

    Parameters

    • path: string
    • param: number

    Returns void

  • Change ownership of given file

    Parameters

    • path: string
    • param: number

    Returns void

  • Download file to an output stream

    Parameters

    Returns void

  • Download file to an output stream

    Returns string

  • List given directory

    Parameters

    • path: string

    Returns LsEntry[]

  • Create a folder in the given directory

    Parameters

    • dir: string

    Returns void

  • Look a file up in the local server and send it to the remote sever in the given directory

    Parameters

    • file: string
    • dir: string

    Returns void

  • Put a file to the remote sever in the given directory

    Parameters

    Returns void

  • Put a file to the remote sever in the given directory

    Parameters

    • dir: string

    Returns OutputStream

  • Returns the current remote directory in absolute form

    Returns string

  • Remove given file

    Parameters

    • path: string

    Returns void

  • Remove given directory

    Parameters

    • path: string

    Returns void

  • Creates a new Symbolic Link

    Parameters

    • oldPath: string
    • newPath: string

    Returns void

Generated using TypeDoc