1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-18 23:48:56 +02:00
OpenIntegrations/docs/en/examples/Dropbox/UploadFile.txt
2024-08-13 14:35:37 +03:00

9 lines
264 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);