File upload progress bar.

2009-02-06 Thread Robert Rawlins

Chaps,

Does anyone have any good solution for displaying a file upload progress bar? I 
essentially have a form which looks like this:

form name=upload action=process.cfm method=post

input name=NewName type=text /

input name=TheFile type=file /

input name=Submit type=submit value=Upload Now! /

/form

On the process.cfm I use a cffile to handle the file, I save it to the FS with 
a UUID as its path/name and then enter a record into the DB with that unique 
path and the 'freindly' name which they enter in the form.

This is fine however with large files the page sits their whilst the file 
uploads, in an ideal world I'd have a progress bar showing the percentage 
uploaded.

I've not seen anything which CF has built-in for doing this, have you got any 
decent 3rd party solutions which any of you have implement successfully?

Cheers for now,

Rob 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318964
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Recheck: File Upload Progress Bar

2008-12-19 Thread Robert Harrison
I asked this some time ago and got no solutions, but maybe now. I also
researched this again and still found no solutions.

I'd like to be able to put either a file upload progress bar on a multi-part
form, but I'd be happy if I could even just put an animated gif to show that
something is happening. 

The problem is you send the formpage to processpage. The processpage does
not process until the file is fully uploaded and you can't output even a
uploading message. Tried CFFLUSH, but even that does not process until the
file is fully uploaded.

Anyone know of a solution for either an upload progress bar (not using
flex), or at least to output a message while the file is uploading?

Thanks,
Robert


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316962
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Claude Schneegans
 I asked this some time ago and got no solutions,

Because there is no solution.

 but maybe now. I also researched this again and still found no solutions.

 because there is still no solution.

Well, there are solutions, but using Flash tools.
Searc for multiple upload AND Flash

 I'd be happy if I could even just put an animated gif to show that
something is happening.

This cannot be done by the server, but by the client, using some 
Javascript in
some onsubmit event.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316965
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Recheck: File Upload Progress Bar

2008-12-19 Thread Robert Harrison
I asked this some time ago and got no solutions,
Because there is no solution.

but maybe now. I also researched this again and still found no solutions.
 because there is still no solution.

Well, that's what I thought but I had to check again. Things change. 

Hopefully Adobe will address this problem soon. I'm not the only one raising
this issue. I could not find a solution in my search, but I sure found a lot
of complaints posted about this. 


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316966
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Ian Skinner
 Hopefully Adobe will address this problem soon. I'm not the only one raising
 this issue. I could not find a solution in my search, but I sure found a lot
 of complaints posted about this. 

Well, before Adobe can address this problem, the entire HTTP standard 
for client-server communications would have to be addressed.  The corner 
stone of HTTP is that it is stateless and each and every 
request-response is separate and intendant.  So there are very limited 
ways for a server to communicate with a client and vice-a-versa which 
does not allow for servers to push new data to a client after a 
request-response has been processed.

With that said, Adobe has addressed this problem by providing 
technologies outside of the HTTP standard.  Flash - Flex - Air, provide 
alternate Client-Server communication methods where it is entirely 
possible to maintain state and easily have the server push information 
to the client such as this.  But if you are unwilling to move beyond the 
HTTP request-response cycle it is unlikely to happen at least not any 
time soon.

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316972
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Dan Vega
http://cfmu.riaforge.org/

Uses Flex/ColdFusion but provides a real solution.

Thank You
Dan Vega
danv...@gmail.com
http://www.danvega.org


On Fri, Dec 19, 2008 at 10:02 AM, Ian Skinner h...@ilsweb.com wrote:

  Hopefully Adobe will address this problem soon. I'm not the only one
 raising
  this issue. I could not find a solution in my search, but I sure found a
 lot
  of complaints posted about this.

 Well, before Adobe can address this problem, the entire HTTP standard
 for client-server communications would have to be addressed.  The corner
 stone of HTTP is that it is stateless and each and every
 request-response is separate and intendant.  So there are very limited
 ways for a server to communicate with a client and vice-a-versa which
 does not allow for servers to push new data to a client after a
 request-response has been processed.

 With that said, Adobe has addressed this problem by providing
 technologies outside of the HTTP standard.  Flash - Flex - Air, provide
 alternate Client-Server communication methods where it is entirely
 possible to maintain state and easily have the server push information
 to the client such as this.  But if you are unwilling to move beyond the
 HTTP request-response cycle it is unlikely to happen at least not any
 time soon.

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316974
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Ryan Stille
Robert wrote:
 Anyone know of a solution for either an upload progress bar (not using
 flex), or at least to output a message while the file is uploading?
You can show an in progress meter using only GIFs and JavaScript.  
Take a look at this article:
http://www.stillnetstudios.com/2007/02/04/animated-in-progress-indicator-for-long-running-pages/

Ian wrote:
 Well, before Adobe can address this problem, the entire HTTP standard 
 for client-server communications would have to be addressed.  The corner 
 stone of HTTP is that it is stateless and each and every 
 request-response is separate and intendant. 

This is entirely doable right now, just not in ColdFusion I don't 
think.  We would need access to the state of the upload, I don't think 
there is a way to get that in CF.   If we had that you could do some 
fancy things with application variables and ajax to update a progress meter.

-Ryan



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316975
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: Recheck: File Upload Progress Bar

2008-12-19 Thread Robert Harrison
I found a simulated solution using java script that will get me by for now.
If a file is uploaded (files are not required) the JS opens a popup window
that shows an animated gif (file loading). When the next page opens it
closes the window. That will do for now. Sometimes the users just need to
see something.



Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .




~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316976
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Recheck: File Upload Progress Bar

2008-12-19 Thread Al Musella, DPM
You can try using an IFRAME  for the upload file 
form field..  use javascript on the submit button 
to hide (or make really small) the iframe and 
replace it with a animated gif of file 
uploading.. then when the next page loads, fire 
a javascript event to change the gif to done!..

At 09:29 AM 12/19/2008, you wrote:
 I asked this some time ago and got no solutions,
 Because there is no solution.

 but maybe now. I also researched this again and still found no solutions.
  because there is still no solution.

Well, that's what I thought but I had to check again. Things change.

Hopefully Adobe will address this problem soon. I'm not the only one raising
this issue. I could not find a solution in my search, but I sure found a lot
of complaints posted about this.


Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .






~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316977
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Recheck: File Upload Progress Bar

2008-12-19 Thread Martijn van der Woud
I found a simulated solution using java script that will get me by for now.
If a file is uploaded (files are not required) the JS opens a popup window
that shows an animated gif (file loading). When the next page opens it
closes the window. That will do for now. Sometimes the users just need to
see something.



Robert B. Harrison
Director of Interactive services
Austin  Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be .

This might be seen as blasphemy here :) but there are numerous examples for 
this using PHP (e.g. 
http://blog.joshuaeichorn.com/archives/2005/05/01/ajax-file-upload-progress/). 
And off course for Java as well: 
http://www.codeguru.com/java/article.php/c13913 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316999
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


File upload progress bar

2004-11-10 Thread CFDEV
Hi,

I know it's been discuss before but I don't find it in the archive. I'm
looking for a way (free) to have a progress bar of the file upload when
using cffile...

Thanks

Pat


~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183859
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54