ariel2 has asked for the wisdom of the Perl Monks concerning the following question:
i am sort of re-asking this question. I would really like to be able to start an FTP process and check on its status periodically so that I can continue to update my GUI while my (several and large) files are transferring.
Right now my application only needs to run on Win32, but I am thinking about making it platform-independent. It does look like Win32::Internet will do this via the InternetStatusCallback function. Right now that looks like my best option, as I don't know too much about forking or threading...
Is there a reasonably simple way to use a common module like LWP or Net::FTP to do something like this:
$ftp->start_job; while ($ftp->status != $the_code_for_complete) { update_gui(); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Asynchronous FTP 2
by InfiniteSilence (Curate) on Sep 23, 2005 at 22:23 UTC | |
by randyk (Parson) on Sep 24, 2005 at 18:05 UTC |