2019-08-06 20:47:52 +08:00
|
|
|
|
---
|
|
|
|
|
title: "put.io"
|
|
|
|
|
description: "Rclone docs for put.io"
|
2022-12-21 04:05:05 +08:00
|
|
|
|
versionIntroduced: "v1.49"
|
2019-08-06 20:47:52 +08:00
|
|
|
|
---
|
|
|
|
|
|
2021-07-21 02:45:41 +08:00
|
|
|
|
# {{< icon "fas fa-parking" >}} put.io
|
2019-08-06 20:47:52 +08:00
|
|
|
|
|
|
|
|
|
Paths are specified as `remote:path`
|
|
|
|
|
|
2020-10-14 05:49:58 +08:00
|
|
|
|
put.io paths may be as deep as required, e.g.
|
2019-08-06 20:47:52 +08:00
|
|
|
|
`remote:directory/subdirectory`.
|
|
|
|
|
|
2021-10-14 21:40:18 +08:00
|
|
|
|
## Configuration
|
|
|
|
|
|
2019-08-06 20:47:52 +08:00
|
|
|
|
The initial setup for put.io involves getting a token from put.io
|
|
|
|
|
which you need to do in your browser. `rclone config` walks you
|
|
|
|
|
through it.
|
|
|
|
|
|
|
|
|
|
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-02 04:34:46 +08:00
|
|
|
|
No remotes found, make a new one?
|
2019-08-06 20:47:52 +08:00
|
|
|
|
n) New remote
|
|
|
|
|
s) Set configuration password
|
|
|
|
|
q) Quit config
|
|
|
|
|
n/s/q> n
|
|
|
|
|
name> putio
|
|
|
|
|
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
|
|
|
|
|
[snip]
|
2019-08-26 17:47:17 +08:00
|
|
|
|
XX / Put.io
|
2019-08-06 20:47:52 +08:00
|
|
|
|
\ "putio"
|
|
|
|
|
[snip]
|
|
|
|
|
Storage> putio
|
|
|
|
|
** See help for putio backend at: https://rclone.org/putio/ **
|
|
|
|
|
|
|
|
|
|
Remote config
|
2022-12-08 03:44:28 +08:00
|
|
|
|
Use web browser to automatically authenticate rclone with remote?
|
|
|
|
|
* Say Y if the machine running rclone has a web browser you can use
|
|
|
|
|
* Say N if running rclone on a (remote) machine without web browser access
|
|
|
|
|
If not sure try Y. If Y failed, try N.
|
2019-08-06 20:47:52 +08:00
|
|
|
|
y) Yes
|
|
|
|
|
n) No
|
|
|
|
|
y/n> y
|
|
|
|
|
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
|
|
|
|
|
Log in and authorize rclone for access
|
|
|
|
|
Waiting for code...
|
|
|
|
|
Got code
|
|
|
|
|
--------------------
|
|
|
|
|
[putio]
|
|
|
|
|
type = putio
|
|
|
|
|
token = {"access_token":"XXXXXXXX","expiry":"0001-01-01T00:00:00Z"}
|
|
|
|
|
--------------------
|
|
|
|
|
y) Yes this is OK
|
|
|
|
|
e) Edit this remote
|
|
|
|
|
d) Delete this remote
|
|
|
|
|
y/e/d> y
|
|
|
|
|
Current remotes:
|
|
|
|
|
|
|
|
|
|
Name Type
|
|
|
|
|
==== ====
|
|
|
|
|
putio putio
|
|
|
|
|
|
|
|
|
|
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> q
|
|
|
|
|
```
|
|
|
|
|
|
2022-12-08 03:44:28 +08:00
|
|
|
|
See the [remote setup docs](/remote_setup/) for how to set it up on a
|
|
|
|
|
machine with no Internet browser available.
|
|
|
|
|
|
2019-08-06 20:47:52 +08:00
|
|
|
|
Note that rclone runs a webserver on your local machine to collect the
|
2022-12-08 03:44:28 +08:00
|
|
|
|
token as returned from put.io if using web browser to automatically
|
|
|
|
|
authenticate. This only
|
2019-08-06 20:47:52 +08:00
|
|
|
|
runs from the moment it opens your browser to the moment you get back
|
|
|
|
|
the verification code. This is on `http://127.0.0.1:53682/` and this
|
|
|
|
|
it may require you to unblock it temporarily if you are running a host
|
|
|
|
|
firewall, or use manual mode.
|
|
|
|
|
|
|
|
|
|
You can then use it like this,
|
|
|
|
|
|
|
|
|
|
List directories in top level of your put.io
|
|
|
|
|
|
|
|
|
|
rclone lsd remote:
|
|
|
|
|
|
|
|
|
|
List all the files in your put.io
|
|
|
|
|
|
|
|
|
|
rclone ls remote:
|
|
|
|
|
|
|
|
|
|
To copy a local directory to a put.io directory called backup
|
|
|
|
|
|
|
|
|
|
rclone copy /home/source remote:backup
|
2019-08-26 22:25:20 +08:00
|
|
|
|
|
2021-10-14 21:40:18 +08:00
|
|
|
|
### Restricted filename characters
|
2019-10-02 18:23:10 +08:00
|
|
|
|
|
|
|
|
|
In addition to the [default restricted characters set](/overview/#restricted-characters)
|
|
|
|
|
the following characters are also replaced:
|
|
|
|
|
|
|
|
|
|
| Character | Value | Replacement |
|
|
|
|
|
| --------- |:-----:|:-----------:|
|
|
|
|
|
| \ | 0x5C | \ |
|
|
|
|
|
|
|
|
|
|
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
|
|
|
|
|
as they can't be used in JSON strings.
|
|
|
|
|
|
2020-05-22 19:22:52 +08:00
|
|
|
|
{{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/putio/putio.go then run make backenddocs" >}}
|
2023-09-11 22:59:44 +08:00
|
|
|
|
### Standard options
|
|
|
|
|
|
|
|
|
|
Here are the Standard options specific to putio (Put.io).
|
|
|
|
|
|
|
|
|
|
#### --putio-client-id
|
|
|
|
|
|
|
|
|
|
OAuth Client Id.
|
|
|
|
|
|
|
|
|
|
Leave blank normally.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: client_id
|
|
|
|
|
- Env Var: RCLONE_PUTIO_CLIENT_ID
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
|
|
|
|
#### --putio-client-secret
|
|
|
|
|
|
|
|
|
|
OAuth Client Secret.
|
|
|
|
|
|
|
|
|
|
Leave blank normally.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: client_secret
|
|
|
|
|
- Env Var: RCLONE_PUTIO_CLIENT_SECRET
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
### Advanced options
|
2020-02-01 18:31:42 +08:00
|
|
|
|
|
2022-07-10 01:08:20 +08:00
|
|
|
|
Here are the Advanced options specific to putio (Put.io).
|
2020-02-01 18:31:42 +08:00
|
|
|
|
|
2023-09-11 22:59:44 +08:00
|
|
|
|
#### --putio-token
|
|
|
|
|
|
|
|
|
|
OAuth Access Token as a JSON blob.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: token
|
|
|
|
|
- Env Var: RCLONE_PUTIO_TOKEN
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
|
|
|
|
#### --putio-auth-url
|
|
|
|
|
|
|
|
|
|
Auth server URL.
|
|
|
|
|
|
|
|
|
|
Leave blank to use the provider defaults.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: auth_url
|
|
|
|
|
- Env Var: RCLONE_PUTIO_AUTH_URL
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
|
|
|
|
#### --putio-token-url
|
|
|
|
|
|
|
|
|
|
Token server url.
|
|
|
|
|
|
|
|
|
|
Leave blank to use the provider defaults.
|
|
|
|
|
|
|
|
|
|
Properties:
|
|
|
|
|
|
|
|
|
|
- Config: token_url
|
|
|
|
|
- Env Var: RCLONE_PUTIO_TOKEN_URL
|
|
|
|
|
- Type: string
|
|
|
|
|
- Required: false
|
|
|
|
|
|
2020-02-01 18:31:42 +08:00
|
|
|
|
#### --putio-encoding
|
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
|
The encoding for the backend.
|
2020-02-01 18:31:42 +08:00
|
|
|
|
|
2021-11-01 23:42:05 +08:00
|
|
|
|
See the [encoding section in the overview](/overview/#encoding) for more info.
|
2020-02-01 18:31:42 +08:00
|
|
|
|
|
2022-03-18 20:29:54 +08:00
|
|
|
|
Properties:
|
|
|
|
|
|
2020-02-01 18:31:42 +08:00
|
|
|
|
- Config: encoding
|
|
|
|
|
- Env Var: RCLONE_PUTIO_ENCODING
|
2023-11-26 23:59:12 +08:00
|
|
|
|
- Type: Encoding
|
2020-02-01 18:31:42 +08:00
|
|
|
|
- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
|
|
|
|
|
|
2020-05-22 19:22:52 +08:00
|
|
|
|
{{< rem autogenerated options stop >}}
|
2022-03-22 16:40:49 +08:00
|
|
|
|
|
|
|
|
|
## Limitations
|
|
|
|
|
|
|
|
|
|
put.io has rate limiting. When you hit a limit, rclone automatically
|
|
|
|
|
retries after waiting the amount of time requested by the server.
|
|
|
|
|
|
|
|
|
|
If you want to avoid ever hitting these limits, you may use the
|
|
|
|
|
`--tpslimit` flag with a low number. Note that the imposed limits
|
|
|
|
|
may be different for different operations, and may change over time.
|