Azure Web Job writes files in a website's directory
问题 I attached a Web Job to my Azure website. The webjob prepares a file and I want to save it on a proper folder in the website. Environment.CurrentDirectory run on the script returns a path under a Temp directory: Temp\jobs\triggered\WEBJOBNAME\q0uwrohv.x5e I tried to go down on the directory tree: string path = Path.Combine(Environment.CurrentDirectory, @"..\..\..\..\..\Data") But it doesn't work: C:\DWASFiles\Sites\WEBSITENAME\Temp\jobs\triggered\WEBJOBNAME\q0uwrohv.x5e\..\..\..\..\..\Data