copy folder files to s3 using ssh: written especially to copy the backup tar.gz files of cpanel account to amazon s3 servicd but you can use it to do other jobs or you can modify it to fit your requirements.