2024-08-13 16:04:54 +02:00
|
|
|
Filename2 = "Picture2.jpg";
|
|
|
|
Name = "Picture1.jpg";
|
|
|
|
|
2024-08-19 08:33:52 +02:00
|
|
|
Image2 = "https://openintegrations.dev/test_data/picture.jpg"; // Local path, URL or Binary Data
|
|
|
|
Image = "https://openintegrations.dev/test_data/picture2.jpg"; // Local path, URL or Binary Data
|
2024-08-13 16:04:54 +02:00
|
|
|
|
|
|
|
DestinationID = 3;
|
|
|
|
|
2024-08-19 08:33:52 +02:00
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
2024-08-13 16:04:54 +02:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
|
|
|
|
2024-08-13 16:25:31 +02:00
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
2024-09-16 18:32:17 +02:00
|
|
|
Token = "8b80e066006e9f06006b12e400000001000...";
|
2024-08-13 16:04:54 +02:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
|