Forums

ASP

This topic is locked

Pure ASP Upload

Posted 06 Feb 2007 18:15:58
1
has voted
06 Feb 2007 18:15:58 john pepper posted:
Hi Need help urgently

Just purchased pure asp upload with the delete files before record behavior, however i cannot get it to delete the left file,
The files that i am uploading are .pdf files does this matter??

I have created a delete page that sucsesfully deletes the record but even using this addon it still leaves the .pdf there, is there some way that i could delete the associated .pdf when i delete the relevent record?

Thanks

John

Replies

Replied 09 Feb 2007 11:31:52
09 Feb 2007 11:31:52 Charles Knight replied:
Seem to remember a bug in "delete file before record"

Have a look at your code till you find the "delete file before record" bit.

You should see a line that reads:

DF_path = "../what_ever_upload_folder_is"

change this line to read;

DF_path = ""

save your page and try again...

DW8 | ASP | ACCESS
Replied 09 Feb 2007 11:51:02
09 Feb 2007 11:51:02 john pepper replied:
Hi thanks for the reply

Tried exactly what you said

put the full path in i did not recieve any errors it simply just does not delete

any more suggestions greatly appreciated

Thanks

John

Replied 14 Feb 2007 05:42:05
14 Feb 2007 05:42:05 Charles Knight replied:
You say you put the full path in?

You need to take the path out so there is nothing between the quotes

DW8 | ASP | ACCESS

Reply to this topic