You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
17 lines
523 B
Plaintext
Vendored
17 lines
523 B
Plaintext
Vendored
URL = FunctionParameters["S3_URL"];
|
|
AccessKey = FunctionParameters["S3_AccessKey"];
|
|
SecretKey = FunctionParameters["S3_SecretKey"];
|
|
Region = "BTC";
|
|
|
|
BasicData = OPI_S3.GetBasicDataStructure(URL, AccessKey, SecretKey, Region);
|
|
|
|
Name = "picture.jpg";
|
|
Bucket = "opi-gpbucket3";
|
|
|
|
Result = OPI_S3.GetObject(Name, Bucket, BasicData);
|
|
|
|
TempFile = GetTempFileName();
|
|
BasicData.Insert("ChunkSize", 200000);
|
|
|
|
Result = OPI_S3.GetObject(Name, Bucket, BasicData, , , TempFile);
|