You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/r2/objects/upload-objects.mdx
+9-18Lines changed: 9 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,24 +11,7 @@ You can upload objects to your bucket from the Cloudflare dashboard or using the
11
11
12
12
## Upload objects via Rclone
13
13
14
-
Rclone is a command-line tool which manages files on cloud storage. You can use Rclone to upload objects to R2. To use Rclone, install it onto your machine:
15
-
16
-
<Tabs>
17
-
<TabItemlabel="macOS">
18
-
To install on a Mac device, install with `brew`.
19
-
```sh
20
-
brew install rclone
21
-
```
22
-
</TabItem><TabItemlabel="Windows">
23
-
To install on a Windows device, download it from the official [Rclone website](https://rclone.org/downloads/).
24
-
</TabItem>
25
-
</Tabs>
26
-
27
-
:::note
28
-
Use Rclone if you wish to upload multiple objects to R2.
29
-
30
-
Cloudflare dashboard only allows you to upload one object at a time.
31
-
:::
14
+
Rclone is a command-line tool which manages files on cloud storage. You can use Rclone to upload objects to R2. To use Rclone, install it onto your machine using their official documentation - [Install Rclone](https://rclone.org/install/).
32
15
33
16
### 1. Configure Rclone by running `rclone config`
34
17
@@ -68,6 +51,8 @@ Verify that your files have been uploaded by listing the objects stored in the d
68
51
rclone ls r2:bucket_name
69
52
```
70
53
54
+
Refer to our [Rclone example](/r2/examples/rclone/).
55
+
71
56
## Upload objects via the Cloudflare dashboard
72
57
73
58
To upload objects to your bucket from the Cloudflare dashboard:
@@ -101,3 +86,9 @@ Upload complete.
101
86
```
102
87
103
88
You can set the `Content-Type` (MIME type), `Content-Disposition`, `Cache-Control` and other HTTP header metadata through optional flags.
89
+
90
+
:::note
91
+
Use Rclone if you wish to upload multiple objects to R2.
92
+
93
+
Wrangler's `object put` command only allows you to upload one object at a time.
0 commit comments