1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
2
Hello.
If you can use the AWS CLI, it is possible to upload files from on-premises to S3 using the "aws s3api" command.
You can use "put-object" when uploading files.
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/put-object.html
aws s3api put-object --bucket S3_BUCKET_NAME --key sample2/aaa/1 --body test.txt
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
CLI is one option but you can also do same thing via the AWS SDK of your preferred language: Python, Java, C#, etc. if you need to integrate this feature in a large programmed framework.