Hi Yadu/All,

i'm actually trying to use the http client to download plugins
from my application and yep, i'm using hc 4.0.1 from
http://linorg.usp.br/apache/httpcomponents/httpclient/binary/httpcomponents-client-4.0.1-bin-with-dependencies.zip

and i got this example
http://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.0.x/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpClient.java
which works like a charm for html output :)
once i'm newbie, got lost while trying to adapt the code to
download binary data...

ah, btw, while i can't call it a software(by now it is actually a
bunch of java files)
i have a github repo with this software here http://github.com/geraldonetto/jmon

ah, also, while playing with isreachable method i got connection refused
even cleaning up iptables and running as root :(
it is interesting that it work fine on linux...

Thanks a lot! :)

Geraldo
Sapere Aude => Non dvcor, dvco
São Paulo, Brasil, -3gmt
O< ascii ribbon campaign - www.asciiribbon.org
site: http://exdev.sf.net/
github: http://github.com/geraldonetto
msn: [email protected]
skype: geraldo-netto
icq: 145-061-456

On 18 February 2010 15:12, Yadu <[email protected]> wrote:
>
> It's very much possible. What exactly you want to achieve and what are steps
> you taking? Are you using HC 4.0.1 ?
>
> -Yadu
>
>
> Geraldo Netto wrote:
>>
>> Hi guys,
>>
>> how are you doing?
>>
>> i'm using http core/client on my undergrad project
>> and i was unable to download binary file using http client
>> i'd like to know if it is possible
>> if so, would be possible to post a sketch?
>> (i only managed to run example code/doing little modifications)
>> i guess i would need to use java.io to take care of those bits(?)
>>
>> thank you very much,
>> kind regards and best wishes,
>>
>> Geraldo
>> Sapere Aude => Non dvcor, dvco
>> São Paulo, Brasil, -3gmt
>> O< ascii ribbon campaign - www.asciiribbon.org
>> site: http://exdev.sf.net/
>> github: http://github.com/geraldonetto
>> msn: [email protected]
>> skype: geraldo-netto
>> icq: 145-061-456

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to