Does the file increase tho? most of these functions create the file (0bytes) as the handle, then do the processing in memory and when finished dump the result into a file and close the file handle.
so you will have from 0 to hero but no inbetween Is this what you would use? not a progress bar but a "still doing" bar? MD On Thu, 27 Jan 2005 11:51:44 -0500, Ben Doom <[EMAIL PROTECTED]> wrote: > If filesize==0, push a page with a meta tag redirect or a JS timeout > that reloads the page after some number of seconds. If filesize>0, push > the contents instead. > > --Ben > > Jeff Waris wrote: > > I kick a process off to create a report that is converted to a PDF using > > CFEXECUTE. The report is not created instantaneously and may take some time > > depending how many pages there are. Once created, the PDF sits in a > > directory. This part is working fine. > > > > As the report starts to run. It creates a 0 byte PDF file. It then sits in > > the directory at 0 bytes until it finishes, then displays a file size. The > > process takes about .25-.5 second per page and it wouldn't be uncommon to > > have a 200 page report. So the existence of this PDF could take upwards of a > > minute to show. > > > > What I would like to do is spawn a new window and within that window keep > > checking for the existence of that file and once the file is in the > > directory and more than 0 bytes to <Cflocatation> to the PDF and display it > > in the new window or timeout after a certain period of time and display a > > try again or give the option to start the creation process over. > > > > Has anyone done anything like this? I know that you would use cfdirectory > > for a lot of it BUT am unsure how to do the checking/timeout loop properly. > > > > Thanks. > > Jeff > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:191964 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