No physical file in the uploads folder

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 151

No physical file in the uploads folder

Post 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


MichaelG
User
Posts: 1110

Post by MichaelG »

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


crash
User
Posts: 151

Post by crash »

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


MichaelG
User
Posts: 1110

Post by MichaelG »

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


crash
User
Posts: 151

Post 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


MichaelG
User
Posts: 1110

Post by MichaelG »

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


crash
User
Posts: 151

Post 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


MichaelG
User
Posts: 1110

Post by MichaelG »


Post Reply