1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00
Vitaly the Alpaca (bot) 4bae5e74a5 Main build (Jenkins)
2024-11-21 11:30:08 +03:00

21 lines
713 B
Plaintext
Vendored

URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Name = "picture.jpg";
Bucket = "opi-gpbucket3";
Entity = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Path or Binary Data
Result = OPI_S3.PutObject(Name, Bucket, Entity, BasicData);
Name = "fileChunked.mp3";
Bucket = "opi-gpbucket3";
Entity = "https://api.athenaeum.digital/test_data/song.mp3"; // URL, Path or Binary Data
BasicData.Insert("ChunkSize", 5242880);
Result = OPI_S3.PutObject(Name, Bucket, Entity, BasicData);