This topic is locked

How to delete file or image while update

4/1/2009 10:53:28 PM
PHPRunner General questions
A
amuro author

Hi, please advise me.
The file is stored into a directory.
The file doesn't be deleted while the record is updated or deleted.
It causes the size of the directory, which stores files, enlarge.
Could the application delete the file while updating or deleting?
Thank you <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=11434&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />

J
Jane 4/2/2009

Hi,
please check Delete file when assosiated record is deleted global option on the "Edit as" settings dialog on the Visual Editor tab.

A
amuro author 4/6/2009

Hi,

please check Delete file when assosiated record is deleted global option on the "Edit as" settings dialog on the Visual Editor tab.


Hi, Jane
Thank you for your replay.
It works while the record is deleted.
But, the file still exists while update.
Thank you!

J
Jane 4/6/2009

I see what you're saying.

We'll add this feature in one of the next updates.