File system question

Hi everyone, I have to write and read files from a folder that is outside the site route.
My webapp is published on a local server within the client’s network.
I tried to check the folder on drive C but I got an error.
Am I typing the folder path wrong or is it not possible to access folders outside the application directory?

2

You can’t use folders outside of web root.

This is a big problem for me…when I publish the changes on the production target then will I also publish the contents of the document folder?

You may be able to incorporate symlinks to achieve what you require. Easy enough on Linux to do this but not so sure on Windows, however I did find a guide to doing this, the link is below. I can’t offer further information as am not a Windows user but may be worth a shot.

Set your assets folder in your project settings to your documents location. That folder should (I believe) be ignored when publishing.

Screenshot 2023-11-29 at 8.45.55 AM