1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-21 23:57:40 +02:00
Files
OpenIntegrations/docs/en/examples/Dropbox/UploadFile.txt
Vitaly the Alpaca (bot) a7b091d23e Main build (Jenkins)
2024-09-17 15:57:44 +03:00

9 lines
272 B
Plaintext

Path = "/New/pic.png";
Token = FunctionParameters["Dropbox_Token"];
Image = FunctionParameters["Picture"];
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);
Result = OPI_Dropbox.UploadFile(Token, ImagePath, Path, True);