Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

https file upload using java?

How can I upload a file over https(secured) using java? While I sending same as http url, it throws an exception like "javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake". Can any one guide me, how to upload file in https using java? Thanks in advance..

like image 436
Venkat Avatar asked May 21 '26 12:05

Venkat


1 Answers

You can use apache commons-fileupload , here is example code

like image 65
jmj Avatar answered May 23 '26 02:05

jmj