Re: Getting progress of an uploaded file.
"Eamon Daly" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <029d01c70cca$9fb11c20$69fea8c0@EDALYLAPTOP> |
$HTTP::Request::Common::DYNAMIC_FILE_UPLOAD is what you're looking for. You should be able to find several mentions in the archives, but here's a brief example direct from Gisle: http://tech.groups.yahoo.com/group/libwww-perl/message/7326 ____________________________________________________________ Eamon Daly ----- Original Message ----- From: "Peteris Krumins [Newsgroups]" <[email protected]> To: <[email protected]> Sent: Monday, November 20, 2006 10:35 AM Subject: Getting progress of an uploaded file. : : Hello! : : I have developed an app which uploads files via HTTP. I use LWP for this. : : Unfortunately I can't find a way to get stats of how much has been : uploaded. : Is there a way to specify a callback or smth similar which would : periodically be called with information available of how much has been : sent over the wire? : : If this is not possible then maybe I could use my own sub to pass : chunks of data to be uploaded to LWP? : : : Thanks, : Peteris Krumins : :