Hi, I'm new to AWS but have some rudimentary skills. Need to transfer local files on a server to our S3 bucket in AWS environment. I assume I can use either AWS Tools for Windows PowerShell or use High-Level s3 Commands with the AWS Command Line Interface. If either of these tools would work I would need the syntax to automate these data transfer on a daily basis.
$ aws s3 cp newfile.txt s3://testbucket/
Here is a simple python script example https://code.google.com/archive/p/s3afe/
Also take a look at http://s3tools.org/s3cmd
But you'd better start with the best practice of using a IAM role for your EC2 instance instead of distributing access credentials.