[file_transfer]
File transfer configuration options.
save_directory
Default directory to open when prompted to save a file.
# Type: string
# Values: any string
# Default: "$HOME/Downloads"
[file_transfer]
save_directory = "$HOME/Downloads"
passive
If true, act as the "client" for the transfer. Requires the remote user act as the server.
# Type: boolean
# Values: true, false
# Default: true
[file_transfer]
passive = true
timeout
Time (in seconds) to wait before timing out a transfer waiting to be accepted.
# Type: integer
# Values: any positive integer
# Default: 300
[file_transfer]
timeout = 300
[file_transfer.server]
This section is required if passive = false
. One side of the file transfer must
operate as the "server", who the other user connects with to establish a connection.
public_address
Address advertised to the remote user to connect to.
# Type: string
# Values: any string
# Default: not set
[file_transfer.server]
public_address = "<some ip>"
bind_address
Address to bind to when accepting connections.
# Type: string
# Values: any string
# Default: not set
[file_transfer.server]
bind_address = "<some ip>"
bind_port_first
First port in port range to bind to.
# Type: integer
# Values: any positive integer
# Default: not set
[file_transfer.server]
bind_port_first = "1024"
bind_port_last
Last port in port range to bind to.
# Type: integer
# Values: any positive integer
# Default: not set
[file_transfer.server]
bind_port_last = "5000"