File Upload

Hello,

I found that there is upload component, but is it possible to get that uploaded file and show it on the website? (And if you click on it, you can download it)

Thanks!

File Upload

You will have to store the file on the server. And then you can provide a download link

I see. :thinking:

Is there any example?

and here you’ll find how to write an InputStream to a File: https://www.baeldung.com/convert-input-stream-to-a-file

Okay, thank you guys!

Have a great day/night!

Oh, one more question, I forgot. :sweat_smile:

Is it possible to make a discord authentication (login) on the page? Is there any api for it?

You can use https://www.baeldung.com/spring-security-5-oauth2-login

I see. Okay, thanks!