Skip to content

Here is how to do it via curl:

curl 'http://192.168.1.1/modals/gateway-modal.lp' \
  -H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
  -H 'Accept-Language: en-US,en;q=0.9,sv;q=0.8' \
  -H 'Cache-Control: max-age=0' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Cookie: sessionID=f6f91a205a17001bd5b7caeac126e9252855ebb9a5fe5d980415f485a7c36ee7' \
  -H 'Origin: http://192.168.1.1' \
  -H 'Referer: http://192.168.1.1/gateway.lp' \
  -H 'Upgrade-Insecure-Requests: 1' \
  -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36' \
  --data-raw 'action=export_config&CSRFtoken=3f298209207e57eeb8653e97f04409862a73bde81bbe3960c290df27cf4fa248' \
  --compressed \
  --insecure

lftp

lftp
> set http:cookie "sessionID=f6f91a205a17001bd5b7caeac126e9252855ebb9a5fe5d980415f485a7c36ee7";
> open http://192.168.1.1
> quote post /modals/gateway-modal.lp "action=export_config&CSRFtoken=3f298209207e57eeb8653e97f04409862a73bde81bbe3960c290df27cf4fa248" > local_file
Parameter Description
cache:cache-empty-listings When false, empty listings are not cached.
cache:enable When false, cache is disabled.
cache:expire Positive cache entries expire in this time interval.
cache:expire-negative Negative cache entries expire in this time interval.
cache:size Maximum cache size. When exceeded, the oldest cache entries will be removed from the cache.
Parameter Description
cmd:at-exit The commands in the string are executed before lftp exits or moves to the background.
cmd:at-exit-bg The commands in the string are executed before backgrounded lftp exits.
cmd:at-exit-fg The commands in the string are executed before foreground lftp exits.
cmd:at-background The commands in the string are executed before lftp moves to the background.
cmd:at-terminate The commands in the string are executed before lftp terminates (either backgrounded or foreground).
cmd:at-finish The commands in the string are executed once when all jobs are done.
cmd:at-queue-finish The commands in the string are executed once when all jobs in a queue are done.
cmd:cls-completion-default Default cls options for displaying completion choices. For example, to make completion listings show file sizes, set cmd:cls-completion-default to `-s'.
cmd:cls-default Default cls command options. They can be overridden by explicitly given options.
cmd:cls-exact-time When true, cls would try to get exact file modification time even if it means more requests to the server.
cmd:csh-history Enables csh-like history expansion.
cmd:default-protocol The value is used when open' is used with just a host name without protocol. Default isftp'.
cmd:fail-exit If true, exit when a command fails and the following command is unconditional (i.e., does not begin with
cmd:interactive When true, lftp acts interactively, handles terminal signals, and outputs some extra messages. Default is auto and depends on stdin being a terminal.
cmd:long-running Time of command execution, which is considered as 'long' and a beep is done before the next prompt. 0 means off.
cmd:ls-default Default ls argument.
cmd:move-background When false, lftp refuses to go to the background when exiting. To force it, use `exit bg'.
cmd:move-background-detach When true (default), lftp detaches itself from the control terminal when moving to the background. It is possible to attach back using `attach' command; when false, lftp tricks the shell to move lftp to the background process group and continues to run, then fg shell command brings lftp back to the foreground unless it has done all jobs and terminated.
cmd:parallel Number of jobs run in parallel in non-interactive mode. For example, this may be useful for scripts with multiple `get' commands. Note that setting this to a value greater than 1 changes conditional execution behavior, basically makes it inconsistent.
cmd:queue-parallel Number of jobs run in parallel in a queue.
cmd:remote-completion A boolean to control whether or not lftp uses remote completion. When true, Tab key guesses if the word being completed should be a remote file name. Meta-Tab does remote completion always. So you can force remote completion with Meta-Tab when cmd:remote-completion is false or when the guess is wrong.
cmd:save-cwd-history When true, lftp saves the last CWD of each site to ~/.local/share/lftp/cwd_history or ~/.lftp/cwd_history, allowing you to do "cd -" after lftp restart. Default is true.
cmd:save-rl-history When true, lftp saves readline history to ~/.local/share/lftp/rl_history or ~/.lftp/rl_history on exit. Default is true.
cmd:show-status When false, lftp does not show the status line on the terminal. Default is true.
cmd:set-term-status When true, lftp updates the terminal status if supported (e.g., xterm). The closure for this setting is the terminal type from the TERM environment variable.
cmd:status-interval The time interval between status updates.
cmd:time-style This setting is the default value for cls --time-style option.
cmd:trace When true, lftp prints the commands it executes (like sh -x).
cmd:verify-host If true, lftp resolves the hostname immediately in the open' command. It is also possible to skip the check for a singleopen' command if `&' is given or if ^Z is pressed during the check.
cmd:verify-path If true, lftp checks the path given in the cd' command. It is also possible to skip the check for a singlecd' command if `&' is given or if ^Z is pressed during the check.
cmd:verify-path-cached When false, `cd' to a directory known from cache as existent will succeed immediately. Otherwise, the verification will depend on cmd:verify-path setting.
cmd:stifle-rl-history The number of lines to keep in the readline history.
Special Character Description
cmd:prompt @ Insert @ if the current remote site user is not default.
cmd:prompt \a An ASCII bell character (07).
cmd:prompt \e An ASCII escape character (033).
cmd:prompt \h The remote hostname you are connected to.
cmd:prompt \n Newline.
cmd:prompt \s The name of the client (lftp).
cmd:prompt \S Current slot name.
cmd:prompt \u The username of the remote site user you are logged in as.
cmd:prompt \U The URL of the remote site (e.g., ftp://g437.ub.gu.se/home/james/src/lftp).
cmd:prompt \v The version of lftp (e.g., 2.0.3).
cmd:prompt \w The current working directory at the remote site.
cmd:prompt \W The base name of the current working directory at the remote site.
cmd:prompt \l The current working directory at the local site.
cmd:prompt \L The base name of the current working directory at the local site.
cmd:prompt \nnn The character corresponding to the octal number nnn.
cmd:prompt \ A backslash.
cmd:prompt \? Skips the next character if the previous substitution was empty.
cmd:prompt [ Begin a sequence of non-printing characters, which could be used to embed a terminal control sequence into the prompt.
cmd:prompt ] End a sequence of non-printing characters.
Parameter Description
color:use-color When true, cls command and completion output colored file listings according to color:dir-colors setting. When set to auto, colors are used when output is a terminal.
color:dir-colors File listing color description. By default, the value of LS_COLORS environment variable is used. See dircolors(1).
Parameter Description
dns:SRV-query Query for SRV records and use them before gethostbyname. The SRV records are only used if the port is not explicitly specified. See RFC2052 for details.
dns:cache-enable Enable DNS cache. If it is off, lftp resolves the hostname each time it reconnects.
dns:cache-expire Time to live for DNS cache entries. It has the format +, e.g., 1d12h30m5s or just 36h. To disable expiration, set it to inf' ornever'.
dns:cache-size Maximum number of DNS cache entries.
dns:fatal-timeout Limit the time for DNS queries. If the DNS server is unavailable for too long, lftp will fail to resolve a given hostname. Set to `never' to disable.
dns:order Sets the order of DNS queries. Default is inet6 inet'' which means first look up the address in inet6 family, then inet and use them in that order. To disable inet6 (AAAA) lookup, set this variable toinet''.
dns:use-fork If true, lftp will fork before resolving the hostname. Default is true.
dns:max-retries If zero, there is no limit on the number of times lftp will try to lookup an address. If > 0, lftp will try only this number of times to look up an address of each address family in dns:order.
dns:name This setting can be used to substitute a hostname alias with another name or IP address. The hostname alias is used as the setting closure, and the substituted name or IP address is in the value. Multiple names or IP addresses can be separated by a comma.
Parameter Description
file:charset Local character set. It is set from the current locale initially.
file:use-lock When true, lftp uses advisory locking on local files when opening them.
file:use-fallocate When true, lftp uses fallocate(2) or posix_fallocate(3) to pre-allocate storage space and reduce file fragmentation in pget and torrent commands.
Parameter Description
fish:auto-confirm When true, lftp answers "yes" to all ssh questions, including the question about a new host key. Otherwise, it answers "no".
fish:charset The character set used by the fish server in requests, replies, and file listings. Default is empty, which means the same as local.
fish:connect-program The program to use for connecting to the remote server. It should support -l' option for the username and-p' for the port number. Default is ssh -a -x'. You can set it torsh', for example. For private key authentication, add `-i' option with the key file.
fish:shell Use the specified shell on the server side. Default is /bin/sh. On some systems, /bin/sh exits when doing `cd' to a non-existent directory. lftp can handle that, but it has to reconnect. Set it to /bin/bash for such systems if bash is installed.
Parameter Description
ftp:acct Send this string in ACCT command after login. The result is ignored. The closure for this setting has the format user@host.
ftp:anon-pass Sets the password used for anonymous FTP access authentication. Default is "lftp@".
ftp:anon-user Sets the username used for anonymous FTP access authentication. Default is "anonymous".
ftp:auto-sync-mode If the first server message matches this regex, turn on sync mode for that host.
ftp:catch-size When there is no support for the SIZE command, try to catch the file size from the "150 Opening data connection" reply.
ftp:charset The character set used by the FTP server in requests, replies, and file listings. Default is empty, which means the same as local. This setting is only used when the server does not support UTF8.
ftp:client The name of the FTP client to send with the CLNT command if supported by the server. If it is empty, then no CLNT command will be sent.
ftp:compressed-re Files with matching names will be considered compressed, and "MODE Z" will not be used for them.
ftp:bind-data-socket Bind the data socket to the interface of the control connection (in passive mode). Default is true, except for the loopback interface.
ftp:fix-pasv-address If true, lftp will try to correct the address returned by the server for the PASV command in case the server address is in a public network and PASV returns an address from a private network. Default is true.
ftp:fxp-passive-source If true, lftp will try to set up the source FTP server in passive mode first; otherwise, the destination one. If the first attempt fails, lftp tries to set them up the other way. If the other disposition fails too, lftp falls back to plain copy. See also ftp:use-fxp.
ftp:home Initial directory. Default is an empty string, which means auto. Set this to `/' if you don't like the look of %2F in FTP URLs. The closure for this setting has the format user@host.
ftp:ignore-pasv-address If true, lftp uses the control connection address instead of the one returned in the PASV reply for the data connection. This can be useful for broken NATs. Default is false.
ftp:list-empty-ok If set to false, empty lists from the LIST command will be treated as incorrect, and another method (NLST) will be used.
ftp:list-options Sets options that are always appended to the LIST command. It can be useful to set this to `-a' if the server does not show dot (hidden) files by default. Default is empty.
ftp:mode-z-level Compression level (0-9) for uploading with MODE Z.
ftp:nop-interval Delay between NOOP commands when downloading the tail of a file. This is useful for FTP servers which send "Transfer complete" message before flushing data transfer. In such cases, NOOP commands can prevent connection timeout.
ftp:passive-mode Sets passive FTP mode. This can be useful if you are behind a firewall or a dumb masquerading router. In passive mode, lftp uses PASV command, not the PORT command which is used in active mode. Passive mode is the default.
ftp:port-ipv4 Specifies an IPv4 address to send with the PORT command. Default is an empty string which means to send the address of the local end of the control connection.
ftp:port-range Allowed port range for the local side of the data connection. Format is min-max, or full' orany' to indicate any port. Default is `full'.
ftp:prefer-epsv Use EPSV as the preferred passive mode. Default is `false'.
ftp:proxy Specifies FTP proxy to use. To disable the proxy set this to an empty string. Default value is taken from the environment variable ftp_proxy if it starts with ``ftp://''. If your FTP proxy requires authentication, specify a username and password in the URL. If ftp:proxy starts with http:// then hftp protocol (FTP over HTTP proxy) is used instead of FTP automatically.
ftp:proxy-auth-type Specifies the type of proxy authentication. Options include "joined", "joined-acct", "open", "user" (default), and "proxy-user@host".
ftp:rest-list Allow usage of REST command before LIST command. This might be useful for large directories, but some FTP servers silently ignore REST before LIST.
ftp:rest-stor If false, lftp will not try to use REST before STOR. This can be useful for some buggy servers which corrupt (fill with zeros) the file if REST followed by STOR is used.
ftp:retry-530 Retry on server reply 530 for PASS command if text matches this regular expression. This setting should be useful to distinguish between an overloaded server (temporary condition) and an incorrect password (permanent condition).
ftp:retry-530-anonymous Additional regular expression for anonymous login, like ftp:retry-530.
ftp:site-group Send this string in SITE GROUP command after login. The result is ignored. The closure for this setting has the format user@host.
ftp:skey-allow Allow sending skey/opie reply if the server appears to support it. On by default.
ftp:skey-force Do not send plain text password over the network, use skey/opie instead. If skey/opie is not available, assume a failed login. Off by default.
ftp:ssl-allow If true, try to negotiate an SSL connection with the FTP server for non-anonymous access. Default is true. This and other SSL settings are only available if lftp was compiled with an ssl/tls library.
ftp:ssl-auth The argument for AUTH command, can be one of SSL, TLS, TLS-P, TLS-C. See RFC4217 for explanations. By default, TLS or SSL will be used, depending on the FEAT reply.
ftp:ssl-data-use-keys If true, lftp loads ssl:key-file for the protected data connection too. When false, it does not, and the server can match data and control connections by session ID. Default is true.
ftp:ssl-force If true, refuse to send the password in clear when the server does not support SSL. Default is false.
ftp:ssl-protect-data If true, request SSL connection for data transfers. This provides privacy and transmission error correction. Was CPU-intensive on old CPUs. Default is true.
ftp:ssl-protect-fxp If true, request SSL connection for data transfer between two FTP servers in FXP mode. CPSV or SSCN command will be used in that case. If the SSL connection fails for some reason, lftp would try unprotected FXP transfer unless ftp:ssl-force is set for any of the two servers. Default is true.
ftp:ssl-protect-list If true, request SSL connection for file list transfers. Default is true.
ftp:ssl-use-ccc If true, lftp would issue a CCC command after logon, thus disabling the SSL protection layer on the control connection.
ftp:stat-interval Interval between STAT commands. Default is 1 second.
ftp:strict-multiline When true, lftp strictly checks for multiline reply format (expects it to end with the same code as it started with). When false, this check is relaxed.
ftp:sync-mode If true, lftp will send one command at a time and wait for a response. This might be useful if you are using a buggy FTP server or router. When it is off, lftp sends a pack of commands and waits for responses - it speeds up operation when round trip time is significant. Unfortunately, it does not work with all FTP servers, and some routers have troubles with it, so it is on by default.
ftp:timezone Assume this timezone for time in listings returned by the LIST command. This setting can be GMT offset [+
ftp:too-many-re Decrease the dynamic connection limit when a 421 reply line matches this regular expression.
ftp:trust-feat When true, assume that FEAT returned data are correct and don't use common protocol extensions like SIZE, MDTM, REST if they are not listed. Default is false.
ftp:use-abor If false, lftp does not send ABOR command but closes the data connection immediately.
ftp:use-allo When true, lftp sends ALLO command before uploading a file.
ftp:use-feat When true (default), lftp uses FEAT command to determine extended features of the FTP server.
ftp:use-fxp If true, lftp will try to set up a direct connection between two FTP servers.
ftp:use-hftp When ftp:proxy points to an http proxy, this setting selects hftp method (GET, HEAD) when true and CONNECT method when false. Default is true.
ftp:use-ip-tos When true, lftp uses IPTOS_LOWDELAY for the control connection and IPTOS_THROUGHPUT for data connections.
ftp:lang The language selected with the LANG command, if supported as indicated by the FEAT response. Default is empty, which means server default.
ftp:use-mdtm When true (default), lftp uses MDTM command to determine file modification time.
ftp:use-mdtm-overloaded When true, lftp uses a two-argument MDTM command to set the file modification time on uploaded files. Default is false. If the five-argument MDTM is also enabled, the two-argument command is tried first.
ftp:use-mlsd When true, lftp will use the MLSD command for directory listing if supported by the server.
ftp:use-mode-z When true, lftp will use "MODE Z" if supported by the server to perform compressed transfers.
ftp:use-pret When set to auto, the usage of the PRET command depends on the FEAT server reply. Otherwise, this setting tells whether to use it or not. The PRET command informs the server about the file to be transferred before PORT or PASV commands, so that the server can adjust the data connection parameters.
ftp:use-site-idle When true, lftp sends `SITE IDLE' command with the net:idle argument. Default is false.
ftp:use-site-utime When true, lftp sends a 5-argument `SITE UTIME' command to set the file modification time on uploaded files. Default is true.
ftp:use-site-utime2 When true, lftp sends a 2-argument SITE UTIME' command to set the file modification time on uploaded files. Default is true. If the five-argumentSITE UTIME' is also enabled, the two-argument command is tried first.
Parameter Description
----------------------------- ---------------------------------------------------------------------------------------------------------------------------------------
ftp:use-size When true (default), lftp uses SIZE command to determine file size.
ftp:use-stat If true, lftp sends STAT command in FXP mode transfer to know how much data has been transferred. See also ftp:stat-interval. Default is true.
ftp:use-stat-for-list When true, lftp uses STAT instead of LIST command. By default '.' is used as STAT argument. Using STAT, lftp avoids creating a data connection for directory listing. Some servers require special options for STAT, use ftp:list-options to specify them (e.g. -la).
ftp:use-telnet-iac When true (default), lftp uses TELNET IAC command and follows TELNET protocol as specified in RFC959. When false, it does not follow TELNET protocol and thus does not double 255 (0xFF, 0377) character and does not prefix ABOR and STAT commands with TELNET IP+SYNCH signal.
ftp:use-tvfs When set to auto, usage of TVFS feature depends on FEAT server reply. Otherwise, this setting tells whether to use it or not. In short, if a server supports TVFS feature then it uses unix-like paths.
ftp:use-utf8 If true, lftp sends `OPTS UTF8 ON' to the server to activate UTF-8 encoding (if supported). Disable it if the file names have a different encoding and the server has trouble with it.
ftp:use-quit If true, lftp sends QUIT before disconnecting from the FTP server. Default is true.
ftp:verify-address Verify that the data connection comes from the network address of the control connection peer. This can possibly prevent data connection spoofing, which can lead to data corruption. Unfortunately, this can fail for certain FTP servers with several network interfaces, when they do not set the outgoing address on the data socket, so it is disabled by default.
ftp:verify-port Verify that the data connection has port 20 (ftp-data) on its remote end. This can possibly prevent data connection spoofing by users of the remote host. Unfortunately, too many Windows and even Unix FTP servers forget to set the proper port on the data connection, thus this check is off by default.
ftp:web-mode Disconnect after closing the data connection. This can be useful for totally broken FTP servers. Default is false.
ftps:initial-prot Specifies the initial PROT setting for FTPS connections. Should be one of: C, S, E, P, or empty. Default is empty which means unknown, so that lftp will use PROT command unconditionally. If PROT command turns out to be unsupported, then Clear mode would be assumed.
Parameter Description
hftp:cache Allow server/proxy side caching for ftp-over-http protocol.
hftp:cache-control Specify the corresponding HTTP request header.
hftp:decode When true, lftp automatically decodes the entity in hftp protocol when Content-Encoding header value matches deflate, gzip, compress, x-gzip or x-compress.
hftp:proxy Specifies HTTP proxy for FTP-over-HTTP protocol (hftp). Default value is taken from environment variable ftp_proxy if it starts with "http://", otherwise from environment variable http_proxy. If your FTP proxy requires authentication, specify a username and password in the URL.
hftp:use-allprop If true, lftp will send <allprop/>' request body inPROPFIND' requests, otherwise it will send an empty request body.
hftp:use-authorization If set to off, lftp will send the password as part of the URL to the proxy. This may be required for some proxies (e.g. M-soft). Default is on, and lftp will send the password as part of the Authorization header.
hftp:use-head If set to off, lftp will try to use GET' instead ofHEAD' for hftp protocol. While this is slower, it may allow lftp to work with some proxies which don't understand or mishandle "HEAD ftp://" requests.
hftp:use-mkcol If set to off, lftp will try to use PUT' instead ofMKCOL' to create directories with hftp protocol. Default is off.
hftp:use-propfind If set to off, lftp will not try to use PROPFIND' to get directory contents with hftp protocol and useGET' instead. Default is off. When enabled, lftp will also use PROPPATCH to set file modification time after uploading.
hftp:use-range When true, lftp will use Range header for transfer restart.
hftp:use-type If set to off, lftp won't try to append `;type=' to URLs passed to the proxy. Some broken proxies don't handle it correctly. Default is on.
Parameter Description
log:enabled When true, the log messages are output. The closure for this and other log:' variables is eitherdebug' for debug messages or `xfer' for transfer logging.
log:file The target output file for logging. When empty, stderr is used.
log:level The log verbosity level. Currently, it's only defined for `debug' closure.
log:max-size The maximum size of the log file. When the size is reached, the file is renamed and started anew.
log:prefix-error The prefix for error messages.
log:prefix-note The prefix for note messages.
log:prefix-recv The prefix for received messages.
log:prefix-send The prefix for sent messages.
log:show-ctx Select additional information in the log messages.
log:show-pid Show the process ID in the log messages.
log:show-time Show timestamps in the log messages.
Parameter Description
mirror:dereference When true, mirror will dereference symbolic links by default.
mirror:exclude-regex Specifies the default exclusion pattern for mirroring.
mirror:include-regex Specifies the default inclusion pattern for mirroring.
mirror:no-empty-dirs When true, mirror doesn't create empty directories.
mirror:sort-by Specifies the order of file transfers. Valid values are: name, name-desc, size, size-desc, date, date-desc.
mirror:order Specifies the order of file transfers when sorting by name.
mirror:overwrite When true, mirror will overwrite plain files instead of removing and re-creating them.
mirror:parallel-directories If true, mirror will start processing several directories in parallel when in parallel mode.
mirror:parallel-transfer-count Specifies the number of parallel transfers mirror is allowed to start.
mirror:require-source When true, mirror requires a source directory to be specified explicitly.
mirror:set-permissions When set to off, mirror won't try to copy file and directory permissions.
mirror:skip-noaccess When true, mirror does not try to download files which are obviously inaccessible by the permission mask.
mirror:use-pget-n Specifies -n option for pget command used to transfer every single file under mirror.
module:path Colon-separated list of directories to look for modules.
Parameter Description
net:connection-limit Maximum number of concurrent connections to the same site.
net:connection-limit-timer Increase the dynamic connection limit after this time interval.
net:connection-takeover If true, foreground connections have priority over background ones.
net:idle Disconnect from the server after this idle time.
net:limit-rate Limit transfer rate on data connection.
net:limit-max Limit accumulating of unused limit-rate.
net:limit-total-rate Limit transfer rate of all connections in sum.
net:limit-total-max Limit accumulating of unused limit-total-rate.
net:max-retries The maximum number of sequential tries of an operation without success.
net:no-proxy Contains a comma-separated list of domains for which a proxy should not be used.
net:persist-retries Ignore this number of hard errors. Useful to login to buggy FTP servers which reply 5xx when there are too many users.
net:reconnect-interval-base Sets the base minimal time between reconnects.
net:reconnect-interval-max Sets the maximum reconnect interval.
net:reconnect-interval-multiplier Sets the multiplier by which the base interval is multiplied.
net:socket-bind-ipv4 Bind all IPv4 sockets to a specified address.
net:socket-bind-ipv6 Bind all IPv6 sockets to a specified address.
net:socket-buffer Use a given size for socket buffer.
net:socket-maxseg Use a given size for TCP_MAXSEG socket option.
net:timeout Sets the network protocol timeout.
Parameter Description
pget:default-n Default number of chunks to split the file in pget.
pget:min-chunk-size Minimal chunk size to split the file in pget.
pget:save-status Save pget transfer status at this interval. Set to 'never' to disable status file saving.
Parameter Description
sftp:auto-confirm Automatically answer 'yes' to all SSH questions.
sftp:charset Character set used by the SFTP server in file names and listings.
sftp:connect-program Program to use for connecting to remote SFTP server.
sftp:max-packets-in-flight Maximum number of unreplied packets in flight for SFTP.
sftp:protocol-version Protocol number to negotiate for SFTP. Default is 6.
sftp:server-program Server program implementing SFTP protocol.
sftp:size-read Block size for reading in SFTP.
sftp:size-write Block size for writing in SFTP.
Parameter Description
ssl:ca-file Use specified file as Certificate Authority certificate.
ssl:ca-path Use specified directory as Certificate Authority certificate repository (OpenSSL only).
ssl:check-hostname Check if the hostname used to connect to the server matches the hostname in its certificate.
ssl:crl-file Use specified file as Certificate Revocation List certificate.
ssl:crl-path Use specified directory as Certificate Revocation List certificate repository (OpenSSL only).
ssl:key-file Use specified file as your private key for FTPS and HTTPS protocols.
ssl:cert-file Use specified file as your certificate for FTPS and HTTPS protocols.
ssl:use-sni Use Server Name Indication (SNI) TLS extension.
ssl:verify-certificate Verify the server's certificate to be signed by a known Certificate Authority.
ssl:priority Free-form priority string for GnuTLS.
Parameter Description
torrent:ip IP address to send to the torrent tracker.
torrent:ipv6 IPv6 address to send to the torrent tracker.
torrent:max-peers Maximum number of peers for a torrent.
torrent:port-range Port range to accept connections on for torrent.
torrent:retracker Explicit retracker URL for torrents.
torrent:save-metadata Save metadata of each torrent and load it when necessary.
torrent:seed-max-time Maximum seed time for a torrent.
torrent:seed-min-peers Minimum number of peers when the torrent is complete.
torrent:stop-min-ppr Minimum per-piece-ratio to stop seeding.
torrent:stop-on-ratio Stop the torrent when it's complete and reaches this ratio.
torrent:timeout Maximum time without any progress for a torrent.
torrent:use-dht Use DHT (Distributed Hash Table) for torrents.
Parameter Description
xfer:auto-rename Use suggested filenames provided by the server.
xfer:backup-suffix Time format string for backup file name when replacing an existing file.
xfer:clobber Allow get commands to overwrite existing files.
xfer:destination-directory Default destination directory for get and mget commands.
xfer:disk-full-fatal Abort a transfer if it cannot write the target file due to disk full or quota.
xfer:eta-period Period over which weighted average rate is calculated for ETA.
xfer:eta-terse Show terse ETA (only high-order parts).
xfer:keep-backup Keep the backup file created before replacing an existing file after successful transfer.
xfer:make-backup Rename pre-existing file adding xfer:backup-suffix instead of overwriting it.
xfer:max-redirections Maximum number of redirections for HTTP downloads.
xfer:parallel Default number of parallel transfers in a single get/put/mget/mput command.
xfer:rate-period Period over which weighted average rate is calculated for display.
xfer:temp-file-name Temporary file name pattern for transfers.
xfer:timeout Maximum time without any transfer progress.
xfer:use-temp-file Transfer files to a temporary file in the same directory and then rename.
xfer:verify Verify file integrity after a successful transfer.
xfer:verify-command Command to validate file integrity after transfer.