You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-06 21:04:14 +02:00
17 lines
534 B
Plaintext
Vendored
17 lines
534 B
Plaintext
Vendored
URL = "s3.openintegrations.dev";
|
|
AccessKey = "bayselo...";
|
|
SecretKey = "12we34...";
|
|
Region = "BTC";
|
|
|
|
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
|
|
|
Name = "picture.jpg";
|
|
|
|
Directory = True; // Formation URL in path-style
|
|
Bucket = "w567hjy1";
|
|
Result = OPI_S3.GetObject(Name, Bucket, BasicData, , , , Directory);
|
|
|
|
TempFile = GetTempFileName();
|
|
BasicData.Insert("ChunkSize", 200000);
|
|
|
|
Result = OPI_S3.GetObject(Name, Bucket, BasicData, , , TempFile); |