1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/examples/Dropbox/UploadFile.txt
T
Vitaly the Alpaca (bot) 8a52c3b607 Main build (Jenkins)
2024-10-27 14:30:57 +03:00

9 lines
343 B
Plaintext

Path = "/New/pic.png";
Token = "sl.B_msgdiPWezavqeIij7xO0CoH6lFDkcxzp9wOv6yyW7dixfCrQAW21oFDnvVjkfZa4UegdzdP0...";
Image = "https://api.athenaeum.digital/test_data/picture.jpg";
ImagePath = GetTempFileName("png");
CopyFile(Image, ImagePath);
Result = OPI_Dropbox.UploadFile(Token, ImagePath, Path, True);