rclone/docs/content/uptobox.md

168 lines
4.0 KiB
Markdown
Raw Normal View History

2021-04-09 22:57:24 +08:00
---
title: "Uptobox"
description: "Rclone docs for Uptobox"
versionIntroduced: "v1.56"
2021-04-09 22:57:24 +08:00
---
2021-07-21 02:45:41 +08:00
# {{< icon "fa fa-archive" >}} Uptobox
2021-04-09 22:57:24 +08:00
This is a Backend for Uptobox file storage service. Uptobox is closer to a one-click hoster than a traditional
cloud storage provider and therefore not suitable for long term storage.
Paths are specified as `remote:path`
Paths may be as deep as required, e.g. `remote:directory/subdirectory`.
## Configuration
2021-04-09 22:57:24 +08:00
2021-07-21 02:45:41 +08:00
To configure an Uptobox backend you'll need your personal api token. You'll find it in your
2021-04-09 22:57:24 +08:00
[account settings](https://uptobox.com/my_account)
Here is an example of how to make a remote called `remote` with the default setup. First run:
rclone config
This will guide you through an interactive setup process:
```
Current remotes:
Name Type
==== ====
TestUptobox uptobox
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> n
name> uptobox
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
[...]
37 / Uptobox
\ "uptobox"
[...]
Storage> uptobox
** See help for uptobox backend at: https://rclone.org/uptobox/ **
Your API Key, get it from https://uptobox.com/my_account
Enter a string value. Press Enter for the default ("").
api_key> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Edit advanced config? (y/n)
y) Yes
n) No (default)
y/n> n
Remote config
--------------------
[uptobox]
type = uptobox
api_key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--------------------
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>
```
Once configured you can then use `rclone` like this,
List directories in top level of your Uptobox
rclone lsd remote:
List all the files in your Uptobox
rclone ls remote:
To copy a local directory to an Uptobox directory called backup
rclone copy /home/source remote:backup
2023-11-18 20:36:46 +08:00
### Modification times and hashes
2021-04-09 22:57:24 +08:00
Uptobox supports neither modified times nor checksums. All timestamps
will read as that set by `--default-time`.
2021-04-09 22:57:24 +08:00
### Restricted filename characters
2021-04-09 22:57:24 +08:00
In addition to the [default restricted characters set](/overview/#restricted-characters)
the following characters are also replaced:
| Character | Value | Replacement |
| --------- |:-----:|:-----------:|
| " | 0x22 | |
| ` | 0x41 | |
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
as they can't be used in XML strings.
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/uptobox/uptobox.go then run make backenddocs" >}}
2021-11-01 23:42:05 +08:00
### Standard options
2021-04-09 22:57:24 +08:00
2022-07-10 01:08:20 +08:00
Here are the Standard options specific to uptobox (Uptobox).
2021-04-09 22:57:24 +08:00
2021-07-21 02:45:41 +08:00
#### --uptobox-access-token
2021-04-09 22:57:24 +08:00
2021-11-01 23:42:05 +08:00
Your access token.
Get it from https://uptobox.com/my_account.
2021-04-09 22:57:24 +08:00
2022-03-18 20:29:54 +08:00
Properties:
2021-07-21 02:45:41 +08:00
- Config: access_token
- Env Var: RCLONE_UPTOBOX_ACCESS_TOKEN
2021-04-09 22:57:24 +08:00
- Type: string
2022-03-18 20:29:54 +08:00
- Required: false
2021-04-09 22:57:24 +08:00
2021-11-01 23:42:05 +08:00
### Advanced options
2021-04-09 22:57:24 +08:00
2022-07-10 01:08:20 +08:00
Here are the Advanced options specific to uptobox (Uptobox).
2021-04-09 22:57:24 +08:00
2023-06-30 21:11:17 +08:00
#### --uptobox-private
Set to make uploaded files private
Properties:
- Config: private
- Env Var: RCLONE_UPTOBOX_PRIVATE
- Type: bool
- Default: false
2021-04-09 22:57:24 +08:00
#### --uptobox-encoding
2022-03-18 20:29:54 +08:00
The encoding for the backend.
2021-04-09 22:57:24 +08:00
2021-11-01 23:42:05 +08:00
See the [encoding section in the overview](/overview/#encoding) for more info.
2021-04-09 22:57:24 +08:00
2022-03-18 20:29:54 +08:00
Properties:
2021-04-09 22:57:24 +08:00
- Config: encoding
- Env Var: RCLONE_UPTOBOX_ENCODING
2023-11-26 23:59:12 +08:00
- Type: Encoding
2021-07-21 02:45:41 +08:00
- Default: Slash,LtGt,DoubleQuote,BackQuote,Del,Ctl,LeftSpace,InvalidUtf8,Dot
2021-04-09 22:57:24 +08:00
2024-03-10 19:22:43 +08:00
#### --uptobox-description
Description of the remote
Properties:
- Config: description
- Env Var: RCLONE_UPTOBOX_DESCRIPTION
- Type: string
- Required: false
2021-04-09 22:57:24 +08:00
{{< rem autogenerated options stop >}}
## Limitations
2021-04-09 22:57:24 +08:00
Uptobox will delete inactive files that have not been accessed in 60 days.
`rclone about` is not supported by this backend an overview of used space can however
2021-07-21 02:45:41 +08:00
been seen in the uptobox web interface.