Azure Function - Downloading a Box File - The system cannot find the file specified
Hi,
I am building an Azure function (using the Box Java API) that will be called by a webhook on a Box folder when a file is uploaded to that folder. The azure function then needs to download the file, for which I'm using the code below:
FileOutputStream stream = new FileOutputStream(info.getName());
file.download(stream);
stream.close();
Although this works fine when testing locally, when it is deployed as an Azure function i get the following error intermittently:
(The system cannot find the file specified)
Has anyone else encountered anything similar?
Regards - Phil
サインインしてコメントを残してください。
コメント
1件のコメント