Local file replication in real time to amazon s3 using cUrl.