Date:  12/13/2006 11:08:26 PM Msg ID:  003251
From:  FoxWeb Support Thread:  003248
Subject:  Re: Uploading Files - Showing Progress
Currently there's no way to get upload status information on the server.  We will investigate whether it's feasible to add this in a future release.
FoxWeb Support Team
support@foxweb.com email
Sent by Jim on 12/13/2006 05:54:41 PM:
>>As far as I know browsers don't expose progress info to scripts
That's why I'm trying to get the information from the server, not the browser. 
Many other script languages (PHP, ASP, Perl) and their corresponding web-server interfaces provide mechanisms to determine server-side information such as the web-server's temp folder (where uploading files are staged awaiting completion of the upload) and the file name of the temporary file itself.   With that information, a server-side foxweb script could monitor the progress of the incoming file and make that information available to the sender via Ajax or some other mechanism.  While not 100% accurate, it beats the heck out of looking at a blank screen.
I know that clever use of IFrames and animated gifs can fake an upload progress bar.  It's just that it will look the same whether the file is 50k or 5 megs.  It won't take long before the users realize that what they're seeing is bogus.
-Jim


 

"The true measure of a career is to be able to be content, even proud that you succeeded through your own endeavors without leaving a trail of casualties in your wake."  - Allen Greenspan
Sent by FoxWeb Support on 12/13/2006 04:21:49 PM:
As far as I know browsers don't expose progress info to scripts, but some of them display upload progress in their own progress bar in the status bar at the bottom of the window.  Have you tried using the new Yahoo Mail user interface?  Check out the file attachment function when composing a message.  I tried it with IE and could see the progress of the upload, but Firefox had an all or nothing deal, where the progress bar went from 0% from 100% once the file upload was done.
FoxWeb Support Team
support@foxweb.com email
Sent by Jim on 12/13/2006 03:19:27 PM:
Hello FoxWeb,
I'm implementing a site that requires the uploading of files that may be big (10 megabytes or more) and/or may be on a slow connection.  Is there any way to implement a kind of progress-bar display? 
I tried implementing something via Ajax but getting the actual upload progress information from the server has proved elusive.  Any help would be greatly appreciated.
Happy Holidays! Smile

-Jim


"The true measure of a career is to be able to be content, even proud that you succeeded through your own endeavors without leaving a trail of casualties in your wake."  - Allen Greenspan