1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-25 21:39:21 +02:00

15 lines
496 B
Plaintext
Raw Normal View History

2024-11-18 10:27:37 +03:00
 URL = "storage-155.s3hoster.by";
AccessKey = "BRN5RKJE67...";
SecretKey = "NNhv+i9PrytpT8Tu0C1N...";
Region = "BTC";
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
SourcePath = "picture.jpg";
DestinationBucket = "opi-gpbucket3";
DestinationPath = "new_picture.jpg";
SourceBucket = "opi-dirbucket3";
Result = OPI_S3.CopyObject(SourcePath, DestinationBucket, DestinationPath, SourceBucket, BasicData);