1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-03 09:03:50 +00:00

ftp: Add force_list_hidden option

Forces the use of `LIST -a` command
when listing a directory which should
list all hidden folders and files.
This commit is contained in:
Øyvind Heddeland Instefjord
2022-09-05 21:54:41 +02:00
committed by Nick Craig-Wood
parent 655d63b4fd
commit 91f8894285
5 changed files with 24 additions and 1 deletions

View File

@@ -357,6 +357,7 @@ and may be set in the config file.
--ftp-tls-cache-size int Size of TLS session cache for all control and data connections (default 32)
--ftp-user string FTP username (default "$USER")
--ftp-writing-mdtm Use MDTM to set modification time (VsFtpd quirk)
--ftp-force-list-hidden Use LIST -a to force listing of hidden files and folders. This will disable the use of MLSD.
--gcs-anonymous Access public buckets and objects without credentials
--gcs-auth-url string Auth server URL
--gcs-bucket-acl string Access Control List for new buckets

View File

@@ -310,6 +310,17 @@ Properties:
- Type: bool
- Default: false
#### --ftp-force-list-hidden
Use LIST -a to force listing of hidden files and folders. This will disable the use of MLSD.
Properties:
- Config: force_list_hidden
- Env Var: RCLONE_FTP_FORCE_LIST_HIDDEN
- Type: bool
- Default: false
#### --ftp-idle-timeout
Max time before closing idle connections.