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

'list_parts' and a test for s3 multipart uploads #119

Merged
merged 1 commit into from
Oct 30, 2012

Conversation

marios
Copy link
Contributor

@marios marios commented Oct 30, 2012

Hi Travis - as promised here's a test for the multipart S3 uploads stuff. Includes a couple fixes I found along the way and I also added the 'list_parts' method docs here

For the test you need to add the location of 2 files (which must be > 5mb for multipart to work) to your aws.yml file... like:

1 ---$
2 amazon:$
3   access_key: "KEY"$
4   secret_key: "PASS"$
5   my_prefix: "mariosFoo"$
6   multipart_segment1: "/home/marios/Downloads/blob1.txt"$
7   multipart_segment2: "/home/marios/Downloads/blob2.txt"$

The test exercises initiating, uploading both parts, listing parts and then completing the upload... so may take some time depending on your bandwidth and the size of the parts you specify (must be >5mb - dictated by S3 API).

thanks! marios

treeder pushed a commit that referenced this pull request Oct 30, 2012
 'list_parts' and a test for s3 multipart uploads
@treeder treeder merged commit d58eac4 into appoxy:master Oct 30, 2012
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

Successfully merging this pull request may close these issues.

2 participants