2019-06-26 20:39:01 +02:00
---
title: "1Fichier"
description: "Rclone docs for 1Fichier"
2022-12-20 21:05:05 +01:00
versionIntroduced: "v1.49"
2019-06-26 20:39:01 +02:00
---
2021-07-20 20:45:41 +02:00
# {{< icon "fa fa-archive" >}} 1Fichier
2019-06-26 20:39:01 +02:00
2020-05-19 13:02:44 +02:00
This is a backend for the [1fichier ](https://1fichier.com ) cloud
2019-06-26 20:39:01 +02:00
storage service. Note that a Premium subscription is required to use
the API.
Paths are specified as `remote:path`
2020-10-13 23:49:58 +02:00
Paths may be as deep as required, e.g. `remote:directory/subdirectory` .
2019-06-26 20:39:01 +02:00
2021-10-14 15:40:18 +02:00
## Configuration
2019-06-26 20:39:01 +02:00
The initial setup for 1Fichier involves getting the API key from the website which you
need to do in your browser.
Here is an example of how to make a remote called `remote` . First run:
rclone config
This will guide you through an interactive setup process:
```
2021-11-01 21:34:46 +01:00
No remotes found, make a new one?
2019-06-26 20:39:01 +02:00
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> remote
Type of storage to configure.
Enter a string value. Press Enter for the default ("").
Choose a number from below, or type in your own value
2019-08-26 11:47:17 +02:00
[snip]
XX / 1Fichier
\ "fichier"
[snip]
2019-06-26 20:39:01 +02:00
Storage> fichier
** See help for fichier backend at: https://rclone.org/fichier/ **
Your API Key, get it from https://1fichier.com/console/params.pl
Enter a string value. Press Enter for the default ("").
api_key> example_key
Edit advanced config? (y/n)
y) Yes
n) No
y/n>
Remote config
--------------------
[remote]
type = fichier
api_key = example_key
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
```
Once configured you can then use `rclone` like this,
List directories in top level of your 1Fichier account
rclone lsd remote:
List all the files in your 1Fichier account
rclone ls remote:
To copy a local directory to a 1Fichier directory called backup
rclone copy /home/source remote:backup
2023-11-18 13:36:46 +01:00
### Modification times and hashes
2019-06-26 20:39:01 +02:00
1Fichier does not support modification times. It supports the Whirlpool hash algorithm.
2023-11-18 13:36:46 +01:00
### Duplicated files
2019-06-26 20:39:01 +02:00
1Fichier can have two files with exactly the same name and path (unlike a
normal file system).
Duplicated files cause problems with the syncing and you will see
messages in the log about duplicates.
2021-10-14 15:40:18 +02:00
### Restricted filename characters
2019-09-23 13:55:49 +02:00
In addition to the [default restricted characters set ](/overview/#restricted-characters )
the following characters are also replaced:
| Character | Value | Replacement |
| --------- |:-----:|:-----------:|
| \ | 0x5C | \ |
| < | 0x3C | < |
| > | 0x3E | > |
| " | 0x22 | " |
| $ | 0x24 | $ |
| ` | 0x60 | ` |
| ' | 0x27 | ' |
File names can also not start or end with the following characters.
2020-05-26 01:30:30 +02:00
These only get replaced if they are the first or last character in the
2019-09-23 13:55:49 +02:00
name:
| Character | Value | Replacement |
| --------- |:-----:|:-----------:|
| SP | 0x20 | ␠ |
Invalid UTF-8 bytes will also be [replaced ](/overview/#invalid-utf8 ),
as they can't be used in JSON strings.
2019-06-26 20:39:01 +02:00
2020-05-22 13:22:52 +02:00
{{< rem autogenerated options start " - DO NOT EDIT - instead edit fs . RegInfo in backend / fichier / fichier . go then run make backenddocs " > }}
2021-11-01 16:42:05 +01:00
### Standard options
2019-06-26 20:39:01 +02:00
2022-07-09 19:08:20 +02:00
Here are the Standard options specific to fichier (1Fichier).
2019-06-26 20:39:01 +02:00
#### --fichier-api-key
2021-11-01 16:42:05 +01:00
Your API Key, get it from https://1fichier.com/console/params.pl.
2019-06-26 20:39:01 +02:00
2022-03-18 13:29:54 +01:00
Properties:
2019-06-26 20:39:01 +02:00
- Config: api_key
- Env Var: RCLONE_FICHIER_API_KEY
- Type: string
2022-03-18 13:29:54 +01:00
- Required: false
2019-06-26 20:39:01 +02:00
2021-11-01 16:42:05 +01:00
### Advanced options
2019-06-26 20:39:01 +02:00
2022-07-09 19:08:20 +02:00
Here are the Advanced options specific to fichier (1Fichier).
2019-06-26 20:39:01 +02:00
#### --fichier-shared-folder
2021-11-01 16:42:05 +01:00
If you want to download a shared folder, add this parameter.
2019-06-26 20:39:01 +02:00
2022-03-18 13:29:54 +01:00
Properties:
2019-06-26 20:39:01 +02:00
- Config: shared_folder
- Env Var: RCLONE_FICHIER_SHARED_FOLDER
- Type: string
2022-03-18 13:29:54 +01:00
- Required: false
2019-06-26 20:39:01 +02:00
2021-07-20 20:45:41 +02:00
#### --fichier-file-password
2021-11-01 16:42:05 +01:00
If you want to download a shared file that is password protected, add this parameter.
2021-07-20 20:45:41 +02:00
**NB** Input to this must be obscured - see [rclone obscure ](/commands/rclone_obscure/ ).
2022-03-18 13:29:54 +01:00
Properties:
2021-07-20 20:45:41 +02:00
- Config: file_password
- Env Var: RCLONE_FICHIER_FILE_PASSWORD
- Type: string
2022-03-18 13:29:54 +01:00
- Required: false
2021-07-20 20:45:41 +02:00
#### --fichier-folder-password
2021-11-01 16:42:05 +01:00
If you want to list the files in a shared folder that is password protected, add this parameter.
2021-07-20 20:45:41 +02:00
**NB** Input to this must be obscured - see [rclone obscure ](/commands/rclone_obscure/ ).
2022-03-18 13:29:54 +01:00
Properties:
2021-07-20 20:45:41 +02:00
- Config: folder_password
- Env Var: RCLONE_FICHIER_FOLDER_PASSWORD
- Type: string
2022-03-18 13:29:54 +01:00
- Required: false
2021-07-20 20:45:41 +02:00
2023-06-30 15:11:17 +02:00
#### --fichier-cdn
Set if you wish to use CDN download links.
Properties:
- Config: cdn
- Env Var: RCLONE_FICHIER_CDN
- Type: bool
- Default: false
2020-02-01 11:31:42 +01:00
#### --fichier-encoding
2022-03-18 13:29:54 +01:00
The encoding for the backend.
2020-02-01 11:31:42 +01:00
2021-11-01 16:42:05 +01:00
See the [encoding section in the overview ](/overview/#encoding ) for more info.
2020-02-01 11:31:42 +01:00
2022-03-18 13:29:54 +01:00
Properties:
2020-02-01 11:31:42 +01:00
- Config: encoding
- Env Var: RCLONE_FICHIER_ENCODING
2023-11-26 16:59:12 +01:00
- Type: Encoding
2020-02-01 11:31:42 +01:00
- Default: Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,BackSlash,Del,Ctl,LeftSpace,RightSpace,InvalidUtf8,Dot
2020-05-22 13:22:52 +02:00
{{< rem autogenerated options stop > }}
2021-10-14 15:40:18 +02:00
## Limitations
2020-11-27 15:08:52 +01:00
`rclone about` is not supported by the 1Fichier backend. Backends without
this capability cannot determine free space for an rclone mount or
use policy `mfs` (most free space) as a member of an rclone union
remote.
2022-05-14 00:06:45 +02:00
See [List of backends that do not support rclone about ](https://rclone.org/overview/#optional-features ) and [rclone about ](https://rclone.org/commands/rclone_about/ )
2020-11-27 15:08:52 +01:00