Page 1 of 1

No physical file in the uploads folder

Posted: Wed Sep 06, 2023 3:40 am
by crash

When I load a pdf doc.. I see the file on the site, and I can download it... but the physical file is not in the uploads folder on my drive.
I need to be able to store the physical docs
The field is setup correctly
How do I fix this.
Thanks


Re: No physical file

Posted: Wed Sep 06, 2023 11:30 am
by MichaelG

Make sure that you have set up your upload field as "Upload to folder". Read:
https://aspnetmaker.dev/docs/#/fileuploadfolder.html


Re: No physical file

Posted: Thu Sep 07, 2023 6:20 am
by crash

The field are setup as the help files say.the aspnetmaker generated folder is on pls e.. but no new folder


Re: No physical file

Posted: Sun Sep 10, 2023 8:05 am
by MichaelG

The upload folder is relative to the "wwwroot" folder.


Re: No physical file

Posted: Mon Sep 11, 2023 5:12 am
by crash

Thanks, I've managed to get the folder to show the physical files... but now when I delete the file in the field then add another I get the error Error UploadError 7

How do I fix this this that the user can delete the file and add another.
Thanks


Re: No physical file

Posted: Mon Sep 11, 2023 7:28 am
by MichaelG

Make sure that you have enabled write permission to the folder.


Re: No physical file

Posted: Tue Sep 12, 2023 10:31 am
by crash

My app and folder sits on IIS virtual server..
I’ve set the permissions to Everybody read and write.. it still gives me error 7… can u explain which user should have read write permissions .. must it be entire root folder or only the folder where the files sit


Re: No physical file

Posted: Wed Sep 13, 2023 5:06 pm
by MichaelG