You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@mina.apache.org by kalees waran <ka...@gmail.com> on 2008/07/03 05:39:32 UTC
how to send and download file from client to server vice versa
can anyone send sample code for sending and downloading file from server
using mina framwork
please help me...
Re: how to send and download file from client to server vice versa
Posted by Alex Karasulu <ak...@apache.org>.
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 <ka...@gmail.com> 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 <ak...@apache.org>
> 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 <ka...@gmail.com>
> > wrote:
> >
> > > can we send file using tcp?
> > >
> > > On Thu, Jul 3, 2008 at 7:51 PM, Alex Karasulu <ak...@apache.org>
> > > 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 <kalees.samy@gmail.com
> >
> > > > wrote:
> > > >
> > > > > can anyone send sample code for sending and downloading file from
> > > server
> > > > > using mina framwork
> > > > >
> > > > >
> > > > > please help me...
> > > > >
> > > >
> > >
> >
>
Re: how to send and download file from client to server vice versa
Posted by kalees waran <ka...@gmail.com>.
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 <ak...@apache.org> 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 <ka...@gmail.com>
> wrote:
>
> > can we send file using tcp?
> >
> > On Thu, Jul 3, 2008 at 7:51 PM, Alex Karasulu <ak...@apache.org>
> > 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 <ka...@gmail.com>
> > > wrote:
> > >
> > > > can anyone send sample code for sending and downloading file from
> > server
> > > > using mina framwork
> > > >
> > > >
> > > > please help me...
> > > >
> > >
> >
>
Re: how to send and download file from client to server vice versa
Posted by Alex Karasulu <ak...@apache.org>.
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 <ka...@gmail.com> wrote:
> can we send file using tcp?
>
> On Thu, Jul 3, 2008 at 7:51 PM, Alex Karasulu <ak...@apache.org>
> 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 <ka...@gmail.com>
> > wrote:
> >
> > > can anyone send sample code for sending and downloading file from
> server
> > > using mina framwork
> > >
> > >
> > > please help me...
> > >
> >
>
Re: how to send and download file from client to server vice versa
Posted by kalees waran <ka...@gmail.com>.
can we send file using tcp?
On Thu, Jul 3, 2008 at 7:51 PM, Alex Karasulu <ak...@apache.org> 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 <ka...@gmail.com>
> wrote:
>
> > can anyone send sample code for sending and downloading file from server
> > using mina framwork
> >
> >
> > please help me...
> >
>
Re: how to send and download file from client to server vice versa
Posted by Alex Karasulu <ak...@apache.org>.
A vague question. What protocol is being used here: FTP, HTTP, custom
protocol?
On Wed, Jul 2, 2008 at 11:39 PM, kalees waran <ka...@gmail.com> wrote:
> can anyone send sample code for sending and downloading file from server
> using mina framwork
>
>
> please help me...
>