When I try to save a file to the Temp storage in Azure Functions directory (D:\home\data\temp\response.pdf
), I get the following error. Why can't I write to this directory?
mscorlib: Exception has been thrown by the target of an invocation. System: An exception occurred during a WebClient request. mscorlib: ***Could not find a part of the path 'D:\home\data\temp\response.pdf'.***
2017-09-19T07:05:24.353 Function completed (Failure, Id=3aa4b740-ba8a-465c-ad7c-75b38fa2a472, Duration=334ms)
2017-09-19T07:06:31 No new trace in the past 1 min(s).
D:\home\data\temp
is existing. We could use Kudu tool(youfunctionappName.scm.azurewebsites.net) to check that.