4/20/2023 0 Comments Webdav client cache![]() This flag is a upper limit for the used memory per open file. The buffered data is bound to one open file and won't be That will be used to buffer data in advance.Įach open file will try to keep the specified amount of data in memoryĪt all times. The -buffer-size flag determines the amount of memory, Or individual files or directories: rclone rc vfs/forget file=path/to/file dir=path/to/dir Rclone rc to flush the whole directory cache: rclone rc vfs/forget If you configure rclone with a remote control then you can use ![]() Rclone instance is running, you can reset the cache like this: kill -SIGHUP $(pidof rclone) You can send a SIGHUP signal to rclone for it to flush allĭirectory caches, regardless of how old they are. If the backend supports polling, changes will be The directory cache expires if the backend configured does not support Interface or a different copy of rclone will only be picked up once However, changes made directly on the cloud storage by the web poll-interval duration Time to wait between polling for changes. dir-cache-time duration Time to cache directory entries for (default 5m0s) ![]() Changes made through the VFS will appear immediately or Using the -dir-cache-time flag, you can control how long aĭirectory should be considered up to date and not refreshed from theīackend. The VFS layer also implements a directory cache - this caches infoĪbout files and directories (but not the data) in memory. Because there is no one right way ofĭoing this there are various options explained below. That rclone uses into something which looks much more like a diskĬloud storage objects have lots of properties which aren't like diskįiles - you can't extend them or write to the middle of them, so the Private key and -client-ca should be the PEM encoded clientĬertificate authority certificate. cert should be either a PEM encoded certificate or a concatenation If you wish to do client side certificate validation then you will need to You will need to supply the -cert and -key flags. SSL/TLSīy default this will serve over HTTP. Use -realm to set the authentication realm. The password file can be updated while rclone is running. To create an htpasswd file: touch htpasswd In standard apache format and supports MD5, SHA1 and BCrypt for basic Use -htpasswd /path/to/htpasswd to provide an htpasswd file. Set a single username and password with the -user and -pass flags. You can either use an htpasswd file which can take lots of users, or Information about a specific file/directory.Ĭurrently same as 'URL' but intended to be 'just' the name.īoolean for if an entry is a directory or not.īy default this will serve files without needing a login. The relative to the root link of the Text. This is changeable via ?order= parameterĪllows for creating a relative navigation Sort Options: namedirfirst,name,size,time (default namedirfirst) To be used within the template to server pages: Parameter template allows a user to specify a custom markup template for HTTPĪnd WebDAV serve functions. baseurl "/rclone" and -baseurl "/rclone/" are all treated Inserts leading and trailing "/" on -baseurl, so -baseurl "rclone", Useful if you wish to proxy rclone serve. Rclone would serve from a URL starting with "/rclone/". baseurl controls the URL prefix that rclone serves from. max-header-bytes controls the maximum number of bytes the server will server-read-timeout and -server-write-timeout can be used toĬontrol the timeouts on the server. Then using Authentication is advised - see the next section for info. If you set -addr to listen on a public or LAN accessible IP address :0 to let the OS choose an available port. Use -addr to specify which IP address and port the server should Supported hash on the backend or you can use a named hash such as If this flag is set to "auto" then rclone will choose the first Without this flag the ETag will beīased on the ModTime and Size of the object. This can be viewed with a WebDAV client, through a webīrowser, or you can make a remote of type WebDAV to read and write it. Run a basic WebDAV server to serve a remote over HTTP via the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |