mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-23 21:29:38 +02:00
15 lines
496 B
Plaintext
Vendored
15 lines
496 B
Plaintext
Vendored
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);
|