Is this really not possible? Check out S3DataSegmentPusher for how it could be done.