Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: Download a file to client from server

  1. #1
    Junior Member
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Download a file to client from server

    Hi
    Using web programing we have to copy a file from server to the requested client.

    Here is the requirement details
    User will be given a web page jsp, select the file and destination location in the client location, on submit
    , server process on the file and create a new file on the server and copy this file to client manchin onto select destination. this should happen behand the screen and user will be given a page as process completed.

    could you please tell me how to do.

    usign java web technology.

    thanks


  2. #2
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: Download a file to client from server

    Just provide the client/user with a link to the file and once he clicks the link his browser will take care of the downloading.

    // Json

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Download a file to client from server

    We want to have download process as asynchronouse, use will not have any navigation elements to access the file.

  4. #4
    Junior Member
    Join Date
    Oct 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Download a file to client from server

    Quote Originally Posted by mvittalreddy View Post
    We want to have download process as asynchronouse, use will not have any navigation elements to access the file.
    Good work !
    Very cool, looking great so far. Keep going, I wanna see it finished!

  5. #5
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: Download a file to client from server

    So you want to download a file from the server without the user knowing about it?

    That could be somewhat tough.

    // Json

Similar Threads

  1. How to Download a file via FTP
    By JavaPF in forum Java Networking Tutorials
    Replies: 1
    Last Post: December 24th, 2011, 11:56 AM
  2. instead of printing in the client, report get printed in the server
    By jmvenkat in forum Java Theory & Questions
    Replies: 0
    Last Post: September 19th, 2009, 01:30 AM
  3. [SOLVED] web client
    By 5723 in forum File I/O & Other I/O Streams
    Replies: 8
    Last Post: June 10th, 2009, 04:44 PM
  4. Detecting File Download Completion
    By fedfan in forum JavaServer Pages: JSP & JSTL
    Replies: 4
    Last Post: June 5th, 2009, 04:27 AM
  5. Replies: 1
    Last Post: April 20th, 2009, 11:17 AM