Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

https file upload

 
Christian Schnobeladish
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know details for uploading, but maby commons-upload (http://jakarta.apache.org/commons/fileupload) do it.

Artsi
 
Van Glass
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hope this link is useful:
http://forum.java.sun.com/thread.jspa?threadID=311728&tstart=15
[ March 22, 2005: Message edited by: Dharmanand Singh ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic