1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-02 20:52:28 +02:00
Files
OpenIntegrations/docs/en/examples/S3/CopyObject.txt
T

14 lines
531 B
Plaintext
Vendored

URL = "s3.openintegrations.dev";
AccessKey = "bayselo...";
SecretKey = "12we34...";
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 = "w567hjy1";
Result = OPI_S3.CopyObject(SourcePath, DestinationBucket, DestinationPath, SourceBucket, BasicData, , Directory);