edgeport - v1.0.3
    Preparing search index...

    Function getFile

    • Downloads a single file over a fresh connection.

      Parameters

      • opts: SshConnectOptions & { path: string }

        SSH connection options plus the path to read.

      Returns Promise<Uint8Array<ArrayBufferLike>>

      The file contents.

      1.0.0