View Full Version : Delete Files issue
max-o-s348347
06-25-2009, 04:37 PM
I am having issues working out how to delete images specified in a recordset. I'm sure this is an easy problem to solve but I can not find any documentation on how to delete files with Digital File Pro 2???
Ray Borduin
06-26-2009, 06:00 AM
What have you tried? You should be able apply the Delete File server behavior to delete the file and click on the help button in that interface if you have any questions about it.
Do you have anything specific to ask about it? Have you tried using it? What was the result?
pam183309
06-26-2009, 10:51 AM
Hi,
The timing was perfect on this post as I needed to implement this very functionality today. It works great!
Two adjustments to be aware of:
1. Be sure that the code to delete the current file is above the Upload File code if you have a redirect page.
2. In the Delete File code, replace cStr(Request.Form("Upload")) <> "" with Request.ServerVariables("Request_Method") = "POST"
Thanks for the help Ray!
-pb100
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.