SFTP Client v1.3.0 SFTPClient.Config View Source

A module containing the connection configuration.

Link to this section Summary

Functions

Builds a config from the given SFTPClient.Config struct, keyword list or map.

Link to this section Types

Link to this type

t() View Source
t() :: %SFTPClient.Config{
  connect_timeout: timeout(),
  dsa_pass_phrase: nil | String.t(),
  ecdsa_pass_phrase: nil | String.t(),
  host: String.t(),
  inet: :inet | :inet6,
  operation_timeout: timeout(),
  password: nil | String.t(),
  port: non_neg_integer(),
  private_key_pass_phrase: nil | String.t(),
  private_key_path: nil | Path.t(),
  rsa_pass_phrase: nil | String.t(),
  sftp_vsn: integer(),
  system_dir: nil | Path.t(),
  user: String.t(),
  user_dir: nil | Path.t()
}

Link to this section Functions

Link to this function

new(config_or_opts) View Source
new(t() | Keyword.t()) :: t()

Builds a config from the given SFTPClient.Config struct, keyword list or map.