aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes https file upload Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "https file upload" Watch "https file upload" New topic
Author

https file upload

Christian Schnobeladish
Greenhorn

Joined: Nov 08, 2004
Posts: 3
Hi all,

I actually have a problem. I have to upload a file to a specific https url using post method. Could anybody give me a sample of how to do it ? ... any explanation welcome.

Thanks

Christian
Arto Pastinen
Ranch Hand

Joined: Dec 13, 2002
Posts: 79
I don't know details for uploading, but maby commons-upload (http://jakarta.apache.org/commons/fileupload) do it.

Artsi
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
HTTP file upload is documented in RFC 1867. To perform HTTP file upload you will need to construct a multi-part MIME message that contains the contents of the upload. I believe the contents are base64 encoded. See RFC 1867 and RFC 1521 for details.
Dharmanand Singh
Greenhorn

Joined: Oct 27, 2004
Posts: 13
Hope this link is useful:
http://forum.java.sun.com/thread.jspa?threadID=311728&tstart=15
[ March 22, 2005: Message edited by: Dharmanand Singh ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: https file upload
 
Similar Threads
SCJD - Did any one, who uploaded, received any confirmation?
Https Question
how to open word from java application
JMeter file upload problem.Please help
Upload and Download file to https