Re: Temporary File Downloads

2000-04-25 Thread Dave Hannum

Do the download via CFCONTENT (rather than simply clicking a file link)  and you can 
include a delete in there that will take care
of your problem.

EX: Here's one I do where I create an Excel spreadsheet that can be downloaded.  When 
it is, I delete it.



 

 




Dave


=
"Always Drink Upstream From The Herd!"

David Hannum
Web Analyst/Programmer
Ohio University
[EMAIL PROTECTED]
(740) 597-2524



- Original Message -
From: Jay Wigginton <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 25, 2000 12:01 PM
Subject: Temporary File Downloads


I am trying to think of a method to create a temporary file download...

I am creating a ZIP file using a random name based on CFID and making it
available for download after it has been created... but I would like to
automatically delete the file after it has been downloaded?

Trying to avoid a manual or scheduled maintenance to delete the files
created. Anyone have any suggestions on how to accomplish this?

thanks
Jay

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to
[EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Temporary File Downloads

2000-04-25 Thread Adrian Wright

Look at the deletefile attribute of .

-Original Message-
From: Jay Wigginton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 25, 2000 12:02 PM
To: [EMAIL PROTECTED]
Subject: Temporary File Downloads


I am trying to think of a method to create a temporary file download...

I am creating a ZIP file using a random name based on CFID and making it
available for download after it has been created... but I would like to
automatically delete the file after it has been downloaded?

Trying to avoid a manual or scheduled maintenance to delete the files
created. Anyone have any suggestions on how to accomplish this?

thanks
Jay


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Temporary File Downloads

2000-04-26 Thread Peter Tilbrook

You should be able to easily store the CFID/Filename as a session variable
and delete the file using  at the end of the transaction. A better
method perhaps would be to date/time stamp the file and delete it as a
batch, say once a week, depending on the size of the file, number of
downloaders, etc.

--
Peter Tilbrook
SafetyWeb Internet Solutions Pty Ltd
31-37 Townshend Street
Phillip, ACT, 2602
AUSTRALIA

Tel: (02) 6273 9901
Fax: (02) 6273 9902

http://www.safetyweb.com.au
http://www.actcfug.asn.au

-Original Message-
From: Jay Wigginton [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 26 April 2000 3:02 AM
To: [EMAIL PROTECTED]
Subject: Temporary File Downloads


I am trying to think of a method to create a temporary file download...

I am creating a ZIP file using a random name based on CFID and making it
available for download after it has been created... but I would like to
automatically delete the file after it has been downloaded?

Trying to avoid a manual or scheduled maintenance to delete the files
created. Anyone have any suggestions on how to accomplish this?

thanks
Jay


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.