1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/Dropbox/UploadFile.txt
Vitaly the Alpaca (bot) 47fa4e92bb Main build (Jenkins)
2025-06-27 11:47:43 +03:00

9 lines
272 B
Plaintext
Vendored

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);