GoogleCloudPlatform / GoogleCloudPlatform/gsutil

rsync for files with metadata containing two spaces in sequence causes exception

Open
#876 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
918
Forks
335
PR merge metrics
No merged PRs in 30d

Description

When transferring bucket from gs to s3:
`gsutil -qDD rsync gs:// s3://`

for a file with metadata:
```
gsutil ls -L gs:///
...
Content-Disposition: attachment; filename="some text - some text.jpg"
...
```
(notice double space before the dash), getting next error:

```
DEBUG 0815 21:32:36.212000 connection.py] encountered error exception, reconnecting
...
[Errno 10053] An established connection was aborted by the software in your host machine
```

After removing extra space from metadata syncing works.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.