hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emilian Utma <utma.emil...@gmail.com>
Subject HttpClient API - upload files using OutputStream not Filepart
Date Mon, 21 May 2012 12:55:18 GMT
Hello,

I want to know if is possible to upload a file which its content is set via
a java.io.OutputStream (as in "old times" when using
java.net.HttpURLConnection) not
org.apache.commons.httpclient.methods.multipart.FilePart.Filepart.

I need this behaviour because the content is provided by another
application not mine. To save the content in a "temp" zone is not an option
because it is possible to receive hundreds of files per seconds ... and
this will require a "big temp".

Thank you in advance.

Best regards,
Emil

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message