File Upload
projetosindie
HOBBYOP

a year ago

Good evening, is there any way to upload it to my web page?

Closed

10 Replies

brody
EMPLOYEE

a year ago

This is functionality your application would need to provide.


projetosindie
HOBBYOP

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


brody
EMPLOYEE

a year ago

I'm sorry but this is too vague for us to help with, please provide specific errors.


projetosindie
HOBBYOP

a year ago

When it goes through the upload routine, it gives error 500


brody
EMPLOYEE

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.


projetosindie
HOBBYOP

a year ago

principal error
System.UnauthorizedAccessException: Access to the path '/app/wwwroot/foto/produto/arroz.png' is denied.

Sep 20 18:26:18

victorious-exploration

---> System.IO.IOException: Permission denied


brody
EMPLOYEE

a year ago

Is this PHP?


projetosindie
HOBBYOP

a year ago

C# .net


brody
EMPLOYEE

a year ago

You'd want to write a Dockerfile to deploy your application.


projetosindie
HOBBYOP

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


Loading...