rclone/backend
Nick Craig-Wood 4d195d5a52 gcs: Fix upload errors when uploading pre 1970 files
Before this change rclone attempted to set the "updated" field in
uploaded objects to the modification time.

However when this modification time was before 1970, google drive
would return the rather cryptic error:

    googleapi: Error 400: Invalid value for UnsignedLong: -42000, invalid

However API docs: https://cloud.google.com/storage/docs/json_api/v1/objects#resource
state the "updated" field is read only and tests confirm that.  Even
though the field is read only, it looks like Google parses it.

This change therefore removes the attempt to set the "updated" field
(which was doing nothing anyway) and fixes the problem uploading pre
1970 files.

See #3196 and https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466
2019-06-12 10:51:49 +01:00
..
alias docs: Typo fixes with "a existing" 2019-05-11 16:49:48 +01:00
all koofr: implemented a backend for Koofr cloud storage service. 2019-03-06 13:41:43 +00:00
amazonclouddrive build: more pre go1.8 workarounds removed 2019-05-08 15:14:51 +01:00
azureblob build: drop support for go1.8 2019-04-15 21:49:58 +01:00
b2 b2: ignore malformed src_last_modified_millis 2019-03-25 15:51:45 +00:00
box box: Fix ineffectual assignment (ineffassign) 2019-06-10 19:33:10 +01:00
cache Look for Fs in the cache rather than calling NewFs directly 2019-05-27 16:14:55 +01:00
crypt crypt: remove stray debug in ChangeNotify 2019-05-12 16:50:03 +01:00
drive drive: add --drive-size-as-quota to show storage quota usage for file size - fixes #3135 2019-06-09 16:00:41 +01:00
dropbox pacer: make pacer more flexible 2019-02-16 14:38:07 +00:00
ftp ftp: Add no_check_certificate option for FTPS 2019-06-09 16:06:39 +01:00
googlecloudstorage gcs: Fix upload errors when uploading pre 1970 files 2019-06-12 10:51:49 +01:00
http build: drop support for go1.8 2019-04-15 21:49:58 +01:00
hubic hubic: fix tests for optional methods 2019-04-16 13:33:10 +01:00
jottacloud jottacloud: Add support for selecting device and mountpoint. fixes #3069 2019-05-29 17:16:42 +01:00
koofr koofr: implemented a backend for Koofr cloud storage service. 2019-03-06 13:41:43 +00:00
local local: fix preallocate warning on Linux with ZFS 2019-06-03 18:02:26 +01:00
mega mega: cleanup: add logs for -v and -vv 2019-05-12 10:46:21 +01:00
onedrive onedrive: More accurately check if root is found - fixes #3164 2019-06-06 15:48:46 +01:00
opendrive Fix errors discovered with go vet nilness tool 2019-03-18 11:23:00 +00:00
pcloud pacer: make pacer more flexible 2019-02-16 14:38:07 +00:00
qingstor backend: fix misspellings 2019-02-07 19:51:03 +01:00
s3 s3: make SetModTime work for GLACIER while syncing - Fixes #3224 2019-06-03 15:28:19 +01:00
sftp Factor ShellExpand from sftp backend to lib/env 2019-05-11 23:39:04 +01:00
swift swift: obey Retry-After to fix OVH restore from cold storage 2019-03-25 13:41:34 +00:00
union Look for Fs in the cache rather than calling NewFs directly 2019-05-27 16:14:55 +01:00
webdav webdav: fix About/df when reading the available/total returns 0 2019-03-15 12:03:04 +00:00
yandex pacer: make pacer more flexible 2019-02-16 14:38:07 +00:00