1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-03 22:39:12 +02:00
Files
OpenIntegrations/docs/en/examples/S3/GetObject.txt

17 lines
523 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 URL = FunctionParameters["S3_URL"];
AccessKey = FunctionParameters["S3_AccessKey"];
SecretKey = FunctionParameters["S3_SecretKey"];
2024-11-19 15:23:29 +03:00
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);