diff --git a/MANUAL.html b/MANUAL.html
index b1e1d2c83..9f2871400 100644
--- a/MANUAL.html
+++ b/MANUAL.html
@@ -1858,10 +1858,11 @@ y/e/d> y
The modified time is stored as metadata on the object as X-Bz-Info-src_last_modified_millis
as milliseconds since 1970-01-01 in the Backblaze standard. Other tools should be able to use this as a modified time.
Modified times are used in syncing and are fully supported except in the case of updating a modification time on an existing object. In this case the object will be uploaded again as B2 doesn't have an API method to set the modification time independent of doing an upload.
SHA1 checksums
-The SHA1 checksums of the files are checked on upload and download and will be used in the syncing process. You can use the --checksum
flag.
+The SHA1 checksums of the files are checked on upload and download and will be used in the syncing process.
Large files which are uploaded in chunks will store their SHA1 on the object as X-Bz-Info-large_file_sha1
as recommended by Backblaze.
Transfers
Backblaze recommends that you do lots of transfers simultaneously for maximum speed. In tests from my SSD equiped laptop the optimum setting is about --transfers 32
though higher numbers may be used for a slight speed improvement. The optimum number for you may vary depending on your hardware, how big the files are, how much you want to load your computer, etc. The default of --transfers 4
is definitely too low for Backblaze B2 though.
+Note that uploading big files (bigger than 200 MB by default) will use a 96 MB RAM buffer by default. There can be at most --transfers
of these in use at any moment, so this sets the upper limit on the memory used.
Versions
When rclone uploads a new version of a file it creates a new version of it. Likewise when you delete a file, the old version will still be available.
Old versions of files are visible using the --b2-versions
flag.
@@ -1894,9 +1895,10 @@ $ rclone -q --b2-versions ls b2:cleanup-test
Specific options
Here are the command line options specific to this cloud storage system.
--b2-chunk-size valuee=SIZE
-When uploading large files chunk the file into this size. Note that these chunks are buffered in memory. 100,000,000 Bytes is the minimim size (default 96M).
+When uploading large files chunk the file into this size. Note that these chunks are buffered in memory and there might a maximum of --transfers
chunks in progress at once. 100,000,000 Bytes is the minimim size (default 96M).
--b2-upload-cutoff=SIZE
-Cutoff for switching to chunked upload (default 4.657GiB == 5GB). Files above this size will be uploaded in chunks of --b2-chunk-size
. The default value is the largest file which can be uploaded without chunks.
+Cutoff for switching to chunked upload (default 190.735 MiB == 200 MB). Files above this size will be uploaded in chunks of --b2-chunk-size
.
+This value should be set no larger than 4.657GiB (== 5GB) as this is the largest file size that can be uploaded.
--b2-test-mode=FLAG
This is for debugging purposes only.
Setting FLAG to one of the strings below will cause b2 to return specific errors for debugging purposes.
@@ -2022,6 +2024,11 @@ nounc = true
This will use UNC paths on c:\src
but not on z:\dst
. Of course this will cause problems if the absolute path length of a file exceeds 258 characters on z, so only use this option if you have to.
Changelog
+- v1.32 - 2016-07-13
+
+- Backblaze B2
+- Fix upload of files large files not in root
+
- v1.31 - 2016-07-13
- New Features
diff --git a/MANUAL.md b/MANUAL.md
index 8856ce842..6ebdf71e0 100644
--- a/MANUAL.md
+++ b/MANUAL.md
@@ -2955,7 +2955,7 @@ method to set the modification time independent of doing an upload.
### SHA1 checksums ###
The SHA1 checksums of the files are checked on upload and download and
-will be used in the syncing process. You can use the `--checksum` flag.
+will be used in the syncing process.
Large files which are uploaded in chunks will store their SHA1 on the
object as `X-Bz-Info-large_file_sha1` as recommended by Backblaze.
@@ -2970,6 +2970,11 @@ depending on your hardware, how big the files are, how much you want
to load your computer, etc. The default of `--transfers 4` is
definitely too low for Backblaze B2 though.
+Note that uploading big files (bigger than 200 MB by default) will use
+a 96 MB RAM buffer by default. There can be at most `--transfers` of
+these in use at any moment, so this sets the upper limit on the memory
+used.
+
### Versions ###
When rclone uploads a new version of a file it creates a [new version
@@ -3036,15 +3041,19 @@ system.
#### --b2-chunk-size valuee=SIZE ####
When uploading large files chunk the file into this size. Note that
-these chunks are buffered in memory. 100,000,000 Bytes is the minimim
-size (default 96M).
+these chunks are buffered in memory and there might a maximum of
+`--transfers` chunks in progress at once. 100,000,000 Bytes is the
+minimim size (default 96M).
#### --b2-upload-cutoff=SIZE ####
-Cutoff for switching to chunked upload (default 4.657GiB ==
-5GB). Files above this size will be uploaded in chunks of
-`--b2-chunk-size`. The default value is the largest file which can be
-uploaded without chunks.
+Cutoff for switching to chunked upload (default 190.735 MiB == 200
+MB). Files above this size will be uploaded in chunks of
+`--b2-chunk-size`.
+
+This value should be set no larger than 4.657GiB (== 5GB) as this is
+the largest file size that can be uploaded.
+
#### --b2-test-mode=FLAG ####
@@ -3271,6 +3280,9 @@ file exceeds 258 characters on z, so only use this option if you have to.
Changelog
---------
+ * v1.32 - 2016-07-13
+ * Backblaze B2
+ * Fix upload of files large files not in root
* v1.31 - 2016-07-13
* New Features
* Reduce memory on sync by about 50%
diff --git a/MANUAL.txt b/MANUAL.txt
index 1d735c2c1..0f4b620a6 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -2967,7 +2967,7 @@ set the modification time independent of doing an upload.
SHA1 checksums
The SHA1 checksums of the files are checked on upload and download and
-will be used in the syncing process. You can use the --checksum flag.
+will be used in the syncing process.
Large files which are uploaded in chunks will store their SHA1 on the
object as X-Bz-Info-large_file_sha1 as recommended by Backblaze.
@@ -2982,6 +2982,10 @@ hardware, how big the files are, how much you want to load your
computer, etc. The default of --transfers 4 is definitely too low for
Backblaze B2 though.
+Note that uploading big files (bigger than 200 MB by default) will use a
+96 MB RAM buffer by default. There can be at most --transfers of these
+in use at any moment, so this sets the upper limit on the memory used.
+
Versions
When rclone uploads a new version of a file it creates a new version of
@@ -3040,14 +3044,17 @@ Here are the command line options specific to this cloud storage system.
--b2-chunk-size valuee=SIZE
When uploading large files chunk the file into this size. Note that
-these chunks are buffered in memory. 100,000,000 Bytes is the minimim
+these chunks are buffered in memory and there might a maximum of
+--transfers chunks in progress at once. 100,000,000 Bytes is the minimim
size (default 96M).
--b2-upload-cutoff=SIZE
-Cutoff for switching to chunked upload (default 4.657GiB == 5GB). Files
-above this size will be uploaded in chunks of --b2-chunk-size. The
-default value is the largest file which can be uploaded without chunks.
+Cutoff for switching to chunked upload (default 190.735 MiB == 200 MB).
+Files above this size will be uploaded in chunks of --b2-chunk-size.
+
+This value should be set no larger than 4.657GiB (== 5GB) as this is the
+largest file size that can be uploaded.
--b2-test-mode=FLAG
@@ -3265,6 +3272,9 @@ characters on z, so only use this option if you have to.
Changelog
+- v1.32 - 2016-07-13
+ - Backblaze B2
+ - Fix upload of files large files not in root
- v1.31 - 2016-07-13
- New Features
- Reduce memory on sync by about 50%
diff --git a/docs/content/changelog.md b/docs/content/changelog.md
index bb7f3c054..43ab32a24 100644
--- a/docs/content/changelog.md
+++ b/docs/content/changelog.md
@@ -7,6 +7,9 @@ date: "2016-07-13"
Changelog
---------
+ * v1.32 - 2016-07-13
+ * Backblaze B2
+ * Fix upload of files large files not in root
* v1.31 - 2016-07-13
* New Features
* Reduce memory on sync by about 50%
diff --git a/docs/content/downloads.md b/docs/content/downloads.md
index 7aba48870..79fd5bc52 100644
--- a/docs/content/downloads.md
+++ b/docs/content/downloads.md
@@ -5,37 +5,37 @@ type: page
date: "2016-07-13"
---
-Rclone Download v1.31
+Rclone Download v1.32
=====================
* Windows
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-windows-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-windows-amd64.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-windows-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-windows-amd64.zip)
* OSX
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-osx-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-osx-amd64.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-osx-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-osx-amd64.zip)
* Linux
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-linux-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-linux-amd64.zip)
- * [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.31-linux-arm.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-linux-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-linux-amd64.zip)
+ * [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.32-linux-arm.zip)
* FreeBSD
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-freebsd-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-freebsd-amd64.zip)
- * [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.31-freebsd-arm.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-freebsd-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-freebsd-amd64.zip)
+ * [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.32-freebsd-arm.zip)
* NetBSD
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-netbsd-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-netbsd-amd64.zip)
- * [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.31-netbsd-arm.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-netbsd-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-netbsd-amd64.zip)
+ * [ARM - 32 Bit](http://downloads.rclone.org/rclone-v1.32-netbsd-arm.zip)
* OpenBSD
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-openbsd-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-openbsd-amd64.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-openbsd-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-openbsd-amd64.zip)
* Plan 9
- * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.31-plan9-386.zip)
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-plan9-amd64.zip)
+ * [386 - 32 Bit](http://downloads.rclone.org/rclone-v1.32-plan9-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-plan9-amd64.zip)
* Solaris
- * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.31-solaris-amd64.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-v1.32-solaris-amd64.zip)
-You can also find a [mirror of the downloads on github](https://github.com/ncw/rclone/releases/tag/v1.31).
+You can also find a [mirror of the downloads on github](https://github.com/ncw/rclone/releases/tag/v1.32).
Downloads for scripting
=======================
diff --git a/fs/version.go b/fs/version.go
index 61749a977..4660d905a 100644
--- a/fs/version.go
+++ b/fs/version.go
@@ -1,4 +1,4 @@
package fs
// Version of rclone
-var Version = "v1.31"
+var Version = "v1.32"
diff --git a/rclone.1 b/rclone.1
index 81a7b0c6d..41584de67 100644
--- a/rclone.1
+++ b/rclone.1
@@ -3657,7 +3657,6 @@ API method to set the modification time independent of doing an upload.
.PP
The SHA1 checksums of the files are checked on upload and download and
will be used in the syncing process.
-You can use the \f[C]\-\-checksum\f[] flag.
.PP
Large files which are uploaded in chunks will store their SHA1 on the
object as \f[C]X\-Bz\-Info\-large_file_sha1\f[] as recommended by
@@ -3673,6 +3672,11 @@ The optimum number for you may vary depending on your hardware, how big
the files are, how much you want to load your computer, etc.
The default of \f[C]\-\-transfers\ 4\f[] is definitely too low for
Backblaze B2 though.
+.PP
+Note that uploading big files (bigger than 200 MB by default) will use a
+96 MB RAM buffer by default.
+There can be at most \f[C]\-\-transfers\f[] of these in use at any
+moment, so this sets the upper limit on the memory used.
.SS Versions
.PP
When rclone uploads a new version of a file it creates a new version of
@@ -3744,15 +3748,17 @@ Here are the command line options specific to this cloud storage system.
.SS \-\-b2\-chunk\-size valuee=SIZE
.PP
When uploading large files chunk the file into this size.
-Note that these chunks are buffered in memory.
+Note that these chunks are buffered in memory and there might a maximum
+of \f[C]\-\-transfers\f[] chunks in progress at once.
100,000,000 Bytes is the minimim size (default 96M).
.SS \-\-b2\-upload\-cutoff=SIZE
.PP
-Cutoff for switching to chunked upload (default 4.657GiB == 5GB).
+Cutoff for switching to chunked upload (default 190.735 MiB == 200 MB).
Files above this size will be uploaded in chunks of
\f[C]\-\-b2\-chunk\-size\f[].
-The default value is the largest file which can be uploaded without
-chunks.
+.PP
+This value should be set no larger than 4.657GiB (== 5GB) as this is the
+largest file size that can be uploaded.
.SS \-\-b2\-test\-mode=FLAG
.PP
This is for debugging purposes only.
@@ -4019,6 +4025,14 @@ Of course this will cause problems if the absolute path length of a file
exceeds 258 characters on z, so only use this option if you have to.
.SS Changelog
.IP \[bu] 2
+v1.32 \- 2016\-07\-13
+.RS 2
+.IP \[bu] 2
+Backblaze B2
+.IP \[bu] 2
+Fix upload of files large files not in root
+.RE
+.IP \[bu] 2
v1.31 \- 2016\-07\-13
.RS 2
.IP \[bu] 2