close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Delete file behavior does not check for the existence of the file

Thread began 3/04/2013 9:02 pm by neo314 | Last modified 3/06/2013 4:37 am by neo314 | 554 views | 2 replies


Delete file behavior does not check for the existence of the file

Delete file behavior does not check for the existence of the file! That's pretty basic. If I have to hand code the condition, I may as well hand code the whole this.

I have a set of records that have attached PDF files. The delete behavior deletes the old pdf when a new one is uploaded. I added images, so the existing records did not have any images in them, but for the future, the delete behaviors is included and triggered on a successful upload.

I found that since the existing record's field was empty, WADA Delete file behavior throws an error.

It should in clude a condition that the field/value is not empty (or you'll get a can't unlink a directory error) and that the file exists.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...