Click here to Skip to main content
15,886,919 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
On C:/program files(x86)/Application_name folder, Application does not having full access to the created files.

What I have tried:

Application service can be able to create a file in the app's folder. The file created could not be modify/delete by the service. When the service tries to upload the file to server through curl library. It also gets failed with curl error.

What would be reason for failing to upload files that created by app service in the above mentioned folder?
Posted
Updated 14-Feb-24 6:42am
v2

1 solution

Applications which are not running "elevated" do not have write access to the Program Files / Program Files (x86) folders by default. This has been the case for many years.

You need to choose a better location to store the files you want your user to be able to edit:
Where Should I Store My Data?[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900