Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[s3] aws s3 copy dir/ fatal error: 'ContentLength' #1917

Closed
kmlebedev opened this issue Mar 17, 2021 · 1 comment
Closed

[s3] aws s3 copy dir/ fatal error: 'ContentLength' #1917

kmlebedev opened this issue Mar 17, 2021 · 1 comment

Comments

@kmlebedev
Copy link
Contributor

Describe the bug

aws --profile local  --endpoint http://127.0.0.1:8333/  s3 cp s3://test/dir /tmp/
fatal error: An error occurred (404) when calling the HeadObject operation: Key "dir" does not exist

aws --profile local  --endpoint http://127.0.0.1:8333/  s3 cp s3://test/dir/ /tmp/
fatal error: 'ContentLength'

System Setup
2.34

Expected behavior
return 404

kmlebedev added a commit to kmlebedev/seaweedfs that referenced this issue Mar 17, 2021
@kmlebedev
Copy link
Contributor Author

s3tests_1  | ----------------------------------------------------------------------
s3tests_1  | XML: /opt/s3-tests/nosetests.xml
s3tests_1  | ----------------------------------------------------------------------
s3tests_1  | Ran 130 tests in 58.390s
s3tests_1  | 
s3tests_1  | OK
seaweedfs_s3tests_1 exited with code 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants