Hi all,
I have been facing a little problem while listing objects from Amazon Bucket.
I am using AWS::s3.
Following is the part of my code that lists object names from Particular Bucket.
**********************
$counter=0
objs = AWS::S3::Bucket.objects($BUCKET)
objs.each do |o|
$counter+=1
filename = o.key
$stderr.puts "[#{Time.new}]:[#{$counter}]#{filename}"
end
**********************
And on output it prints just first 1000 records though I have around 3000 objects in $BUCKET.
Any help would be appreciated.
Thanks
---LetsAsk |