a year ago
Good evening, is there any way to upload it to my web page?
10 Replies
a year ago
My application already has this functionality, normally functional locally, when public gives an error when uploading, if I register without using upload it also works, the problem is when sending the image
a year ago
I'm sorry but this is too vague for us to help with, please provide specific errors.
a year ago
When it goes through the upload routine, it gives error 500
a year ago
That indicates an issue with your application, check the logs, if you don't see anything useful then you are not properly logging the error.
a year ago
principal error
System.UnauthorizedAccessException: Access to the path '/app/wwwroot/foto/produto/arroz.png' is denied.
---> System.IO.IOException: Permission denied
a year ago
C# .net
a year ago
Studying Docker, I discovered that to enable uploading to Docker I need to execute the command "docker run -p 8080:8080 -v ${pwd}/uploads:/app/wwwroot/foto/produto" project_name
However, this is in local Docker and it works, now how would I run it in my project?
Status changed to Closed brody • over 1 year ago
