I assume you are using Data Assist to insert the file name into a database field?
What binding are you assigning to the field that contains the file name?
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
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.