close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

DFP Update File Delete Existing Image File

Thread began 1/18/2010 3:37 am by online.order393818 | Last modified 1/20/2010 12:15 pm by online.order393818 | 2237 views | 7 replies


DFP Update File Delete Existing Image File

CraigR & Jason,

My update file appear to be working again. Actually, I'm right back to where I started from before I first encounter the problem with the update file "deleting" the image file. Now the problem is that the update will not 'over-write, or replace' the image file when I modify the item features!

When I was going through the wizard steps to configure the setting I selected 'overwrite' existing files instead of 'changing the name' in increments.

But to verify your instructions on what did make the update file start updating again. It was the instruction you gave to me with the 'code example'! Also I did remove the '/' as well. What is confusing me is that the detail, update, insert & result pages all have the same path set in them, and all of them work with the exception of the update page I suppose... After updating changes to an item, the 'detail.php?ItemID=55' page show all the changes except the image file, and I also notice too that in the item feature the previous file name for both the image & thumbnail is still the same-unchanged.

And there is one other thing I noticed about my code that I saw different with some other members code. My code filename looks like this:

'FileName' => "[FileName]",

Is that the way it should be?

Thank you,


CraigR & Jason,

I've corrected the problem I was having with the details described above. So I'm sharing this bit of information with guys. It might help to cut through the chase the next time you all are confrounted with a similiar problem solving effort.

I came upon the fix by chance. First here's the code in my situation:


1 <?php
2 WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
4 WA_DFP_UploadFiles("WA_UploadResult1", "ItemImage2", "0", "", "false", $WA_UploadResult1_Params);
5 }
6 ?>
7 <?php
8 WA_DFP_SetupUploadStatusStruct("WA_UploadResult2");
10 WA_DFP_UploadFiles("WA_UploadResult2", "ItemImage2", "0", "", "true", $WA_UploadResult2_Params);
11 }
12 ?>

On line 4 & 10 the Id Name "ItemImage" where the same. On line 4 it was "ItemImage2", and on line 10 it was "ItemImage2". I changed line 4 to "ItemImage" and now my update page work actually as it was designed to. Whether I modify one field, image file, or all the fields. It update without deleting any unmodifited fields as well.

Thanks for the help

I'll be back I'm sure :-)

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...