in reply to Re^3: GET a file without waiting for the result?
in thread GET a file without waiting for the result?

Kind of.
Maybe there's a simpler way?:-D
  • Comment on Re^4: GET a file without waiting for the result?

Replies are listed 'Best First'.
Re^5: GET a file without waiting for the result?
by Corion (Patriarch) on Sep 22, 2010 at 14:08 UTC

    If your program runs within any webserver environment, you won't get things any simpler than that unless you can explain what environment exactly you have.

    Spawning an external process and displaying its progress is about as simple as you can get.

      Ok.
      I will get to that, but another question first: Maybe i can make a separate script for itm that I call via system()?
      system("fetchmyfile.pl $url $destination_file")
        That waits until fetchmyfile.pl is finished.
        I don't have a perfect description of the environment, but here goes:

        - OS: Linux (Ubuntu server 9.04)
        - Apache 2
        - perl 5.10.10