Look here at the testBinaryRequest() method ...

https://svn.apache.org/repos/asf/mina/asyncweb/branches/1.0/client/src/test/java/org/apache/asyncweb/client/AsyncHttpClientTest.java

HTH,
Ale

On Thu, Jul 3, 2008 at 10:40 AM, kalees waran <[EMAIL PROTECTED]> wrote:

> Thank you alux
>
> please send me a sample code using Http protocol how to send file....
> please help me...i know http ,ftp ,smtp are the application protocol.i
> spent
> 10 days to lear mina framework
> however i cannot get clear idea.thats why i switched to learn java.nio and
> java.util.concurrent and i learnt all thinks in these.so i plan to use
> native way
>
> if you dont mind can you send sample application using http...
> my requirement is i want to send and download file also support
> multithreading
>
> please save my time
>
>
>
> On Thu, Jul 3, 2008 at 8:02 PM, Alex Karasulu <[EMAIL PROTECTED]>
> wrote:
>
> > TCP/UDP are transport protocols.  An application protocol on top of
> either
> > these will determine how your file is transfered like for example FTP.
>  You
> > could use either to transport data.
> >
> > But seriously you might want to get a book on some basic networking
> > concepts
> > before you start fishing for solutions to a problem.  Sounds to me like
> you
> > need a better grasp of some fundamentals or you're going to waste a lot
> of
> > time bouncing around.
> >
> > Good luck,
> > Alex
> >
> > On Thu, Jul 3, 2008 at 10:25 AM, kalees waran <[EMAIL PROTECTED]>
> > wrote:
> >
> > > can we send file using tcp?
> > >
> > > On Thu, Jul 3, 2008 at 7:51 PM, Alex Karasulu <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > > A vague question.  What protocol is being used here: FTP, HTTP,
> custom
> > > > protocol?
> > > >
> > > > On Wed, Jul 2, 2008 at 11:39 PM, kalees waran <[EMAIL PROTECTED]
> >
> > > > wrote:
> > > >
> > > > > can anyone send sample code for sending and downloading file from
> > > server
> > > > > using mina framwork
> > > > >
> > > > >
> > > > > please help me...
> > > > >
> > > >
> > >
> >
>

Reply via email to