2024-08-13 14:04:54 +00:00
|
|
|
Filename2 = "Picture2.jpg";
|
|
|
|
Name = "Picture1.jpg";
|
|
|
|
|
2024-10-15 10:07:27 +03:00
|
|
|
Image2 = "https://api.athenaeum.digital/test_data/picture.jpg"; // Local path, URL or Binary Data
|
|
|
|
Image = "https://api.athenaeum.digital/test_data/picture2.jpg"; // Local path, URL or Binary Data
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
DestinationID = 3;
|
|
|
|
|
2024-09-21 10:57:02 +03:00
|
|
|
URL = "https://b24-ar17wx.bitrix24.by/rest/1/1o2...";
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UploadFileToStorage(URL, Filename2, Image2, DestinationID);
|
|
|
|
|
2024-09-21 10:57:02 +03:00
|
|
|
URL = "b24-ar17wx.bitrix24.by";
|
2024-10-19 12:02:34 +03:00
|
|
|
Token = "78821367006e9f06006b12e400000001000...";
|
2024-08-13 14:04:54 +00:00
|
|
|
|
|
|
|
Result = OPI_Bitrix24.UploadFileToStorage(URL, Name, Image, DestinationID, , Token);
|