1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-27 22:18:36 +02:00
Files
OpenIntegrations/docs/en/examples/S3/CopyObject.txt
Vitaly the Alpaca (bot) 3d4bbb5f8b Main build (Jenkins)
2025-09-01 14:51:24 +03:00

15 lines
558 B
Plaintext
Vendored

URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
Directory = True; // Formation URL in path-style
SourcePath = "picture.jpg";
DestinationBucket = "newbucket2";
DestinationPath = "new_picture.jpg";
SourceBucket = "opi-dirbucket3";
Result = OPI_S3.CopyObject(SourcePath, DestinationBucket, DestinationPath, SourceBucket, BasicData, , Directory);