Getting progress of an uploaded file.

Getting progress of an uploaded file.

am 20.11.2006 17:35:37 von pknewsgroups

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

Re: Getting progress of an uploaded file.

am 20.11.2006 18:37:24 von edaly

$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]"
To:
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
:
: