How to put file to Amazon S3

Thank jyijyi,
I have tried and no success. It looks like that the script is too old and Amazon had changed the authentication mechanism.
InvalidRequestThe authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

If no one has the updated scripts, I will find the script in other forums.

Thanks,