Discussions

Web tier: servlets, JSP, Web frameworks: How to do File transfer?

  1. How to do File transfer? (2 messages)

    Two Users are accessing our application , one user has to send a file from client m/c , our application
    has to receive and send it to another user. our application is running on tomcat/apache servers.
    Can any one help how to achieve this?
    Thanks in advance,
    UD

    Threaded Messages (2)

  2. Hi,
      Just give the file name as a parameter,If your file is reside only on client machine,Using streams read the file
    contents and put it into StringBuffer object,Pass this to sever,from there u can extract the file contents and put
    it into the coressponding file(Basically you need to create
    a file,here u will be getting the filename parameter from client).If you have more clarification,fell free to contact me.

    Senthil
    248.619.3571
  3. How to do File transfer?[ Go to top ]

    I have a similar problem, but my concern is I have to select the file from local machine thru application.
    How to do that?