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

AWS S3 - uploading file starting with "03C" ruin folder listing and give errors #9631

Closed
cyberduck opened this issue Jul 25, 2016 · 3 comments
Labels
bug s3 AWS S3 Protocol Implementation worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

cyberduck commented Jul 25, 2016

2d2570c created the issue

the file "03C.mov" appears in parent folders with 0kb size when listing the contents of an S3 bucket/folder.
since the file is not actually on S3 according to the AWS console Cyberduck gives errors when downloading files.

version 5.1.0 (20676)
Windows 2012 Server


Attachments

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jul 25, 2016

@dkocher commented

This is an incomplete multipart upload displayed. Fixed in c15fc14 to display these as hidden files only. You can delete the file to cancel the multipart upload.

Documentation in Unfinished multipart uploads.

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jul 26, 2016

2d2570c commented

Perhaps it seems like an multipart upload, but I cannot delete it!

  • The file is displayed in the parent of where the original is
  • We cannot delete it, AWS respsonse is that the file does not exists
  • We cannot see the file in any other application or in AWS S3 Console
  • The file is not hidden - it is still displayed, even when hiding the hidden files
  • This empty 03C.mov file is displayed in all parenting folders back to the root of the bucket
  • We have more files in the root displayed that are not deleteable

@cyberduck
Copy link
Collaborator Author

cyberduck commented Jul 26, 2016

2d2570c commented

You where right!

By using the aws command line interface I could list the files as incomplete multiparts and delete them by hand manually.

aws s3api list-multipart-uploads --bucket <yourbucket>

and to delete

aws s3api abort-multipart-upload --bucket rednun-templates-us-east-1 --key <key> --upload-id <id>

It happens a bit too often for comfort and should be another ticket why this happened in the first place,
but at least we have a solution! :)

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug s3 AWS S3 Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

1 participant