File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes could i use https protocol for file sending? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "could i use https protocol for file sending?" Watch "could i use https protocol for file sending?" New topic

could i use https protocol for file sending?

Kaleeswaran Karuppasamy
Ranch Hand

Joined: Jul 19, 2007
Posts: 154
i have few question how https usefull for file sending and downloading..could i this and can we send large file 20 MB through
URL url=new URL("........")

server side


i am sending file using URL class and request object in server

please suggest me can i use this for large client application/

Judge a man by his questions rather than his answers --Voltaire
SCJP 1.5 97%
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41115
The HttpClient library can help greatly in implementing file upload over HTTP, and the FileUpload library can handle the server part (assuming that the server is a servlet engine). See for detail.

Ping & DNS - my free Android networking tools app
sudhir nim
Ranch Hand

Joined: Aug 29, 2007
Posts: 212

Live links
HTTP Client
Commons File Upload component

[Servlet tutorial] [Servlet 3.0 Cook Book]
It is sorta covered in the JavaRanch Style Guide.
subject: could i use https protocol for file sending?
Similar Threads
How to use https for login only?
soap & soapenv Exception
can we use servlet to webservice instead of (bean,ejb)
Which style of webservice to use for heavy file load?