I assume the CT generates a link directly to the zip file. You need the CT to generate 
a link to a CFM page which does the work...ah Paolo's beaten me to it!
D

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]]
Sent: 05 February 2003 13:30
To: '[EMAIL PROTECTED]'
Subject: RE: [ cf-dev ] Delete file after download...


yes, what happens at present is that the file content is generated via a CT
and then written to file, which is then zipped and the base file for the zip
is deleted, what I need to do now is delete the .zip file in question...

At the moment, the download link it generated by the CT...

N



-----Original Message-----
From: Douglas Humphris [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2003 13:25
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] Delete file after download...


Write a simple download.cfm which takes URL/FORM param to the temporary
file. Download it and then <cffile action="delete">

Is this what you're after?
D

-----Original Message-----
From: Robertson-Ravo, Neil (RX)
[mailto:[EMAIL PROTECTED]]
Sent: 05 February 2003 13:13
To: '[EMAIL PROTECTED]'
Subject: [ cf-dev ] Delete file after download...


Anyone think of a way in which I can delete a file from the server once it
has been downloaded?  At the moment it is triggered via a simple <a
href></a> .......

Neil

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]



--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to