package
18.0.0-dev.vnet-windows.4+incompatible
Repository: https://github.com/gravitational/teleport.git
Documentation: pkg.go.dev

# Functions

CreateDownloadConfig returns a Config ready to download files over SFTP.
CreateHTTPDownloadConfig returns a Config ready to download a file from over SFTP and write it to a HTTP response.
CreateHTTPUploadConfig returns a Config ready to upload a file from a HTTP request over SFTP.
CreateUploadConfig returns a Config ready to upload files over SFTP.
NewProgressBar returns a new progress bar that writes to writer.
ParseDestination takes a string representing a remote resource for SFTP to download/upload in the form "[user@]host:[path]" and parses it into a structured form.

# Constants

ModeratedSessionID is an optional parameter sent during SCP requests to specify which moderated session to check for valid FileTransferRequests used as a value in the file transfer context and env var for exec session.

# Structs

Config describes the settings of a file transfer.
Destination is a remote SFTP destination to copy to or from.
HTTPTransferRequest describes file transfer request over HTTP.
NonRecursiveDirectoryTransferError is returned when an attempt is made to download a directory without providing the recursive option.
Options control aspects of a file transfer.
PathExpansionError is an [error] indicating that path expansion was rejected.

# Interfaces

FileSystem describes file operations to be done either locally or over SFTP.