mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
docs/ftp: improved default value description of port and username options
See #5551
This commit is contained in:
parent
3641727edb
commit
843b77aaaa
@ -53,10 +53,12 @@ func init() {
|
||||
Required: true,
|
||||
}, {
|
||||
Name: "user",
|
||||
Help: "FTP username, leave blank for current username, " + currentUser + ".",
|
||||
Help: "FTP username.",
|
||||
Default: currentUser,
|
||||
}, {
|
||||
Name: "port",
|
||||
Help: "FTP port, leave blank to use default (21).",
|
||||
Help: "FTP port number.",
|
||||
Default: 21,
|
||||
}, {
|
||||
Name: "pass",
|
||||
Help: "FTP password.",
|
||||
|
@ -61,10 +61,12 @@ func init() {
|
||||
Required: true,
|
||||
}, {
|
||||
Name: "user",
|
||||
Help: "SSH username, leave blank for current username, " + currentUser + ".",
|
||||
Help: "SSH username.",
|
||||
Default: currentUser,
|
||||
}, {
|
||||
Name: "port",
|
||||
Help: "SSH port, leave blank to use default (22).",
|
||||
Help: "SSH port number.",
|
||||
Default: 22,
|
||||
}, {
|
||||
Name: "pass",
|
||||
Help: "SSH password, leave blank to use ssh-agent.",
|
||||
|
@ -339,7 +339,7 @@ and may be set in the config file.
|
||||
--ftp-idle-timeout Duration Max time before closing idle connections (default 1m0s)
|
||||
--ftp-no-check-certificate Do not verify the TLS certificate of the server
|
||||
--ftp-pass string FTP password (obscured)
|
||||
--ftp-port string FTP port, leave blank to use default (21)
|
||||
--ftp-port string FTP port number (default 21)
|
||||
--ftp-shut-timeout Duration Maximum time to wait for data connection closing status (default 1m0s)
|
||||
--ftp-tls Use Implicit FTPS (FTP over TLS)
|
||||
--ftp-tls-cache-size int Size of TLS session cache for all control and data connections (default 32)
|
||||
@ -528,7 +528,7 @@ and may be set in the config file.
|
||||
--sftp-md5sum-command string The command used to read md5 hashes
|
||||
--sftp-pass string SSH password, leave blank to use ssh-agent (obscured)
|
||||
--sftp-path-override string Override path used by SSH connection
|
||||
--sftp-port string SSH port, leave blank to use default (22)
|
||||
--sftp-port string SSH port number (default 22)
|
||||
--sftp-pubkey-file string Optional path to public key file
|
||||
--sftp-server-command string Specifies the path or command to run a sftp server on the remote host
|
||||
--sftp-set-modtime Set the modified time on the remote if set (default true)
|
||||
|
@ -51,11 +51,11 @@ Choose a number from below, or type in your own value
|
||||
1 / Connect to ftp.example.com
|
||||
\ "ftp.example.com"
|
||||
host> ftp.example.com
|
||||
FTP username, leave blank for current username, $USER
|
||||
Enter a string value. Press Enter for the default ("").
|
||||
FTP username
|
||||
Enter a string value. Press Enter for the default ("$USER").
|
||||
user>
|
||||
FTP port, leave blank to use default (21)
|
||||
Enter a string value. Press Enter for the default ("").
|
||||
FTP port number
|
||||
Enter a signed integer. Press Enter for the default (21).
|
||||
port>
|
||||
FTP password
|
||||
y) Yes type in my own password
|
||||
|
@ -56,9 +56,11 @@ Choose a number from below, or type in your own value
|
||||
1 / Connect to example.com
|
||||
\ "example.com"
|
||||
host> example.com
|
||||
SSH username, leave blank for current username, $USER
|
||||
SSH username
|
||||
Enter a string value. Press Enter for the default ("$USER").
|
||||
user> sftpuser
|
||||
SSH port, leave blank to use default (22)
|
||||
SSH port number
|
||||
Enter a signed integer. Press Enter for the default (22).
|
||||
port>
|
||||
SSH password, leave blank to use ssh-agent.
|
||||
y) Yes type in my own password
|
||||
|
Loading…
Reference in New Issue
Block a user