aspose file tools*
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
Author

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("........")
url.getStream()

server side

request.getStream();

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
Marshal

Joined: Mar 22, 2005
Posts: 42632
    
  65
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 http://faq.javaranch.com/java/FileUpload 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?