Amazon S3 Iterating Through Multi-Page Results. (withMarker)

Posted by Jitu on Server Fault See other posts from Server Fault or by Jitu
Published on 2011-02-18T15:08:14Z Indexed on 2011/02/18 15:27 UTC
Read the original article Hit count: 193

Filed under:

Trying to iterate through AmazonS3 that has around 5000+ keys stored in the bucket, used sample code based on provided link on Amazon Developer Guide http://docs.amazonwebservices.com/AmazonS3/latest/dev/ListingObjectKeysUsingNetSDK.html

Issue is iteration fails when NexMarker is passed which has length of more than 128 string characters, which seems unusal as withMarker accepts string as parameter and there is no documentation on limit to withMarker.

request.Marker = response.NextMarker;

Has anyone faced similar issue.

Thanks in advance.

© Server Fault or respective owner

Related posts about amazon-s3