CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    5

    [RESOLVED] Downloading Multiple Files

    I need to know how to download multiple files with one click of a button.
    So, How do I start a file download once another file finishes downloading, WITHOUT and extra user input?

    Here's an example of what I'm trying to do -
    Code:
    downloadFile1();
    //wait until its finished
    downloadFile2();
    Last edited by Vintage; April 19th, 2009 at 09:28 AM. Reason: resolved

  2. #2
    dlorde is offline Elite Member Power Poster
    Join Date
    Aug 1999
    Location
    UK
    Posts
    10,163

    Re: Downloading Multiple Files

    Quote Originally Posted by Vintage View Post
    Here's an example of what I'm trying to do - <example cut>
    Assuming you know which files you want to download, what is wrong with the example you posted? (although it would be better to use the same method each time with the filename as a parameter).

    You have to honor failure, because failure is just the negative space around success...
    R. Nelson
    Please use &#91;CODE]...your code here...&#91;/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.

  3. #3
    Join Date
    Apr 2009
    Posts
    5

    Re: Downloading Multiple Files

    lol, well I changed it up a bit, and I got it working...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured