Two Laptop Bag
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "https file upload" Watch "https file upload" New topic

https file upload

Christian Schnobeladish

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.


Arto Pastinen
Ranch Hand

Joined: Dec 13, 2002
Posts: 79
I don't know details for uploading, but maby commons-upload ( do it.

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

Joined: Oct 27, 2004
Posts: 13
Hope this link is useful:
[ March 22, 2005: Message edited by: Dharmanand Singh ]
I agree. Here's the link:
subject: https file upload
It's not a secret anymore!