Article View: borland.public.cppbuilder.internet.web
Article #709Re: Javascript within C++
From: Remy Lebeau (TeamB)
Date: Mon, 02 Oct 2006 23:45
Date: Mon, 02 Oct 2006 23:45
26 lines
1893 bytes
1893 bytes
"SubZero" <g_ates@hotmail.com> wrote in message news:45004db8$1@newsgroups.borland.com... > We are producing javascript from within ICS web server/C++ and > wonder if the following is possible with JS, > > - Creating an upload meter for File POSTs with Javascript Javascript alone cannot do that. The closest you can get is to host the status bar in a separate HTML frame, and have that page run a timer that periodically sends a status request to the server to get new HTML for the status bar. > - Making multi-socket uploads with different content-ranges (server-side > will be coded by ourselves, we are looking for a solution to hack the > browsers to send it) There is no way to make a browser do that. There is nothing in HTML to tell the browser to send a portion of a file. It is an all-or-nothing operation. To have better control over the connections, you would have to write a custom Java/Flash applet or browser plugin to handle that on behalf of the HTML page. Gambit
Technical Details
Message-ID:
<4521a528$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45004db8$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,afc8696cd1caaf90 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <45004db8$1@newsgroups.borland.com> Subject: Re: Javascript within C++ Date: Mon, 2 Oct 2006 16:45:51 -0700 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <4521a528$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1159832872 69.169.4.232 (2 Oct 2006 16:47:52 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail