Before this change the API key had to be exported with the Filen CLI and pasted into the config. Now rclone config logs in with the email, password and an optional two-factor authentication code and saves the API key it receives. A remote without an API key logs in once on first use and saves the key, provided two-factor authentication is not enabled. The api_key option is still accepted but is now optional and advanced.
244 lines
5.6 KiB
Markdown
244 lines
5.6 KiB
Markdown
---
|
|
title: "Filen"
|
|
description: "Rclone docs for Filen"
|
|
versionIntroduced: "1.73"
|
|
---
|
|
|
|
# Filen
|
|
## Configuration
|
|
The initial setup for Filen logs in to your account with your email, password
|
|
and, if enabled, a two-factor authentication code. Rclone saves the API key
|
|
it receives in the config file so it only needs to log in once.
|
|
|
|
If two-factor authentication is not enabled on your account, rclone can also
|
|
log in by itself the first time a remote without an `api_key` is used. This
|
|
needs a config file to save the API key in, so if you configure the remote
|
|
only with environment variables or a connection string, set `api_key` too
|
|
(you can get it with the `export-api-key` command of the
|
|
[Filen CLI](https://github.com/FilenCloudDienste/filen-cli)), otherwise rclone
|
|
will log in on every run and may be rate limited.
|
|
|
|
**Note:** If you change your Filen account password, you will need to update your rclone configuration with the new password, then remove the saved API key with `rclone config unset remote api_key` and log in again with `rclone config reconnect remote:`.
|
|
|
|
Here is an example of how to make a remote called `FilenRemote`. First run:
|
|
|
|
rclone config
|
|
|
|
This will guide you through an interactive setup process:
|
|
```
|
|
No remotes found, make a new one?
|
|
n) New remote
|
|
s) Set configuration password
|
|
q) Quit config
|
|
n/s/q> n
|
|
|
|
name> FilenRemote
|
|
Option Storage.
|
|
|
|
Type of storage to configure.
|
|
Choose a number from below, or type in your own value.
|
|
[snip]
|
|
XX / Filen
|
|
\ "filen"
|
|
[snip]
|
|
Storage> filen
|
|
|
|
Option Email.
|
|
The email of your Filen account
|
|
Enter a value.
|
|
Email> youremail@provider.com
|
|
|
|
Option Password.
|
|
The password of your Filen account
|
|
Choose an alternative below.
|
|
y) Yes, type in my own password
|
|
g) Generate random password
|
|
y/g> y
|
|
Enter the password:
|
|
password:
|
|
Confirm the password:
|
|
password:
|
|
|
|
Edit advanced config?
|
|
y) Yes
|
|
n) No (default)
|
|
y/n> n
|
|
|
|
Option config_2fa.
|
|
Two-factor authentication code
|
|
Leave blank if two-factor authentication is not enabled on your account.
|
|
Enter a value. Press Enter to leave empty.
|
|
config_2fa> 123456
|
|
|
|
Configuration complete.
|
|
Options:
|
|
- type: filen
|
|
- Email: youremail@provider.com
|
|
- Password: *** ENCRYPTED ***
|
|
- API Key: *** ENCRYPTED ***
|
|
Keep this "FilenRemote" remote?
|
|
y) Yes this is OK (default)
|
|
e) Edit this remote
|
|
d) Delete this remote
|
|
y/e/d> y
|
|
```
|
|
|
|
### Modification times and hashes
|
|
Modification times are fully supported for files, for directories, only the creation time matters.
|
|
|
|
Filen supports Blake3 hashes.
|
|
|
|
### Restricted filename characters
|
|
Invalid UTF-8 bytes will be [replaced](/overview/#invalid-utf8)
|
|
|
|
|
|
### API Key
|
|
|
|
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/filen/filen.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
|
|
### Standard options
|
|
|
|
Here are the Standard options specific to filen (Filen).
|
|
|
|
#### --filen-email
|
|
|
|
Email of your Filen account
|
|
|
|
Properties:
|
|
|
|
- Config: email
|
|
- Env Var: RCLONE_FILEN_EMAIL
|
|
- Type: string
|
|
- Required: true
|
|
|
|
#### --filen-password
|
|
|
|
Password of your Filen account
|
|
|
|
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
|
|
|
|
Properties:
|
|
|
|
- Config: password
|
|
- Env Var: RCLONE_FILEN_PASSWORD
|
|
- Type: string
|
|
- Required: true
|
|
|
|
#### --filen-api-key
|
|
|
|
API Key for your Filen account
|
|
|
|
Get this using the Filen CLI export-api-key command
|
|
You can download the Filen CLI from https://github.com/FilenCloudDienste/filen-cli
|
|
|
|
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
|
|
|
|
Properties:
|
|
|
|
- Config: api_key
|
|
- Env Var: RCLONE_FILEN_API_KEY
|
|
- Type: string
|
|
- Required: true
|
|
|
|
### Advanced options
|
|
|
|
Here are the Advanced options specific to filen (Filen).
|
|
|
|
#### --filen-upload-concurrency
|
|
|
|
Concurrency for chunked uploads.
|
|
|
|
This is the upper limit for how many transfers for the same file are running concurrently.
|
|
Setting this above to a value smaller than 1 will cause uploads to deadlock.
|
|
|
|
If you are uploading small numbers of large files over high-speed links
|
|
and these uploads do not fully utilize your bandwidth, then increasing
|
|
this may help to speed up the transfers.
|
|
|
|
Properties:
|
|
|
|
- Config: upload_concurrency
|
|
- Env Var: RCLONE_FILEN_UPLOAD_CONCURRENCY
|
|
- Type: int
|
|
- Default: 16
|
|
|
|
#### --filen-encoding
|
|
|
|
The encoding for the backend.
|
|
|
|
See the [encoding section in the overview](/overview/#encoding) for more info.
|
|
|
|
Properties:
|
|
|
|
- Config: encoding
|
|
- Env Var: RCLONE_FILEN_ENCODING
|
|
- Type: Encoding
|
|
- Default: Slash,Del,Ctl,InvalidUtf8,Dot
|
|
|
|
#### --filen-master-keys
|
|
|
|
Master Keys (internal use only)
|
|
|
|
Properties:
|
|
|
|
- Config: master_keys
|
|
- Env Var: RCLONE_FILEN_MASTER_KEYS
|
|
- Type: string
|
|
- Required: false
|
|
|
|
#### --filen-private-key
|
|
|
|
Private RSA Key (internal use only)
|
|
|
|
Properties:
|
|
|
|
- Config: private_key
|
|
- Env Var: RCLONE_FILEN_PRIVATE_KEY
|
|
- Type: string
|
|
- Required: false
|
|
|
|
#### --filen-public-key
|
|
|
|
Public RSA Key (internal use only)
|
|
|
|
Properties:
|
|
|
|
- Config: public_key
|
|
- Env Var: RCLONE_FILEN_PUBLIC_KEY
|
|
- Type: string
|
|
- Required: false
|
|
|
|
#### --filen-auth-version
|
|
|
|
Authentication Version (internal use only)
|
|
|
|
Properties:
|
|
|
|
- Config: auth_version
|
|
- Env Var: RCLONE_FILEN_AUTH_VERSION
|
|
- Type: string
|
|
- Required: false
|
|
|
|
#### --filen-base-folder-uuid
|
|
|
|
UUID of Account Root Directory (internal use only)
|
|
|
|
Properties:
|
|
|
|
- Config: base_folder_uuid
|
|
- Env Var: RCLONE_FILEN_BASE_FOLDER_UUID
|
|
- Type: string
|
|
- Required: false
|
|
|
|
#### --filen-description
|
|
|
|
Description of the remote.
|
|
|
|
Properties:
|
|
|
|
- Config: description
|
|
- Env Var: RCLONE_FILEN_DESCRIPTION
|
|
- Type: string
|
|
- Required: false
|
|
|
|
<!-- autogenerated options stop -->
|