I have a file that gets dumped into a directory (postscript). It sits their until Acrobat Distiller grabs it and creates a PDF file then deletes it. I want to be able to see if the directory is
empty once the file gets distilled.

I'm thinking a "popup" window would be best to avoid refreshing the page all the time.

Can this be done?

--Original Message Text---
From: Charlie Griefer
Date: Tue, 2 Mar 2004 13:23:16 -0700

I suppose you could loop over the query output (cfdirectory produces a query
object), and if the file is found, do a <cflocation> back to the same
template.

This would, of course, result in an infinite loop if the file has no
intention of going anywhere...

What's the functionality that you're trying to accomplish?

----- Original Message -----
From: "Bushy" <[EMAIL PROTECTED]>
To: "CF-Community" <[EMAIL PROTECTED]>
Sent: Tuesday, March 02, 2004 12:38 PM
Subject: Re: Is this possible?

> Yes. Thats what I'm using now to display the file on my page. I'm not sure
how to go about the logic to produce what I want (keep refreshing until the
file is deleted or moved).
>
>
> --Original Message Text---
> From: Charlie Griefer
> Date: Tue, 2 Mar 2004 11:12:05 -0700
>
> have you looked at <cfdirectory> ?
>
> ----- Original Message -----
> From: "Bushy" <[EMAIL PROTECTED]>
> To: "CF-Community" <[EMAIL PROTECTED]>
> Sent: Tuesday, March 02, 2004 10:37 AM
> Subject: re: Is this possible?
>
> > Hi,
> >
> > I would like to do the following if possible.
> >
> > When I load a page I have a script that checks a directory for a
specific
> filename and keep looping to display that file until it no longer exists
in
> that folder and then display a message like "File no longer
> > found".
> >
> > Is this possible?
> >
> >
> >
> >
> >
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to