You can clone with
HTTPS or Subversion.
The issue appears to be the documentation is incorrect. listObjects will not actually return a netKeyMarker. When the response is truncated, then you will have to grab the key from the last returned contents entry:
nextKeyMarker = data.Contents[data.Contents.length - 1]
I will update the documentation. Lets leave this issue open until the doc changes have been made. Thank you for reporting this issue.
Don't document NextKeyMarker in S3.listObjects()
nextKeyMarker = data.Contents[data.Contents.length - 1].Key i guess
The previous fix to this was a manual change to our local docs that were (at the time) hardcoded in the SDK. We've since moved to pulling docs directly from an upstream source, and it looks like the docs have not been fixed there. I will re-open this and make sure this is fixed upstream.
I am going to close this since the docs have been updated to indicate that NextMarker may not always be present, in which case the last key should be used.