Matthew Toseland wrote:
That is a horrible kludge - what is the user expected to do with the
garbage file?
Thinking about it some more I think it's probably unworkable - I was
hoping to redirect the browser away from the dummy download somehow so
it is simply cancelled, relying on the browser to remove any partially
downloaded file. However, I don't think there's actually any way to do
this as the download is independant of the page that started it, and
redirecting that page won't affect any download in progress and there's
no JavaScript/DOM interface to downloads in progress.
What about a small JavaScript download manager - that could poll FProxy
for download progress so FProxy need not push progress updates on the
browser?
-- degs
On Thu, Sep 01, 2005 at 09:53:04AM +0100, [EMAIL PROTECTED] wrote:
Sorry - not sure if I've misunderstood your answer or if you didn't get
my suggestion. If the former then apologies in advance for banging on
and I'll go back to quietly lurking :-)
I'm suggesting a method for making the user's browser display a progress
bar for us while a split-file download progresses to private download
area within Fred:
- User requests splitfile download, e.g. by clicking on link within
FProxy
- Fred/FProxy reports dummy filesize to browser of, say, 100k
- Meanwhile Fred downloads splitfile in background, in whatever
block order, to private file owned by Fred
- as background download progresses, FProxy returns garbage to
browser at a bitrate of, e.g., 1k per 1-percent split-file successfully
downloaded
- Browser displays percentage bar for us based on its view of how
complete the 100k dummy download is
- When split-file complete, FProxy redirects browser to a special
link, that when navigated to, streams the downloaded splitfile from
Fred's private file
-- jeek
Matthew Toseland wrote:
Eek.
Square peg, round hole.
We have to download to disk, this is the only reasonable option.
However, we can do it inside Fred.
------------------------------------------------------------------------
_______________________________________________
Devl mailing list
[email protected]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl
_______________________________________________
Devl mailing list
[email protected]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl