I recently refactored some of my code to stuff rows into a db using \'load data\' and it works great -- however for each record I have I must upload 2 files to s3 -- this to
I just found a nice solution to upload an entire directory with php:
$client->uploadDirectory( SOURCE_FOLDER, YOUR_BUCKET_NAME, DESTINATION, array( 'concurrency' => 5, 'debug' => TRUE, 'force' => FALSE, 'params' => array( 'ServerSideEncryption' => 'AES256', ), ) );