PDA

View Full Version : File name not the same as upoaded file


colin282897
08-14-2009, 09:25 AM
I have set DFP to change the name of the file if the file already exist. This is working and the file is being uploaded. The problem is the name that is being added to the database is not the same as the renamed uploaded file name.

colin282897
08-14-2009, 09:59 AM
Solution found silly mistake should have set the DA insert variable to the same as the DFP server variable for the file.

junior294776
08-15-2009, 09:45 AM
I'm having the same problem here... I'm not using DA only DFP. DFP renames the file but the name inserted on my database is different...

SOJO web
08-15-2009, 09:49 PM
junior,

Make sure on your insert record statement, that you select the "server file" option under WA Upload Files bindings.

If you double click your insert record (I am assuming this a DW insert behavior)... you should see the database tables on the left and the values that each receives on the right of the dialogue box.

If you select the "dynamic" option when choosing the variable for the image field in your table, you should then see all the dynamic bindings available to you. In that list, you should see something that looks like:

WA Upload Files Global Status
WA Upload Files (imageFile)

If you select the second one - with the form field name beside it and expand it, you should see several dynamic options to bind to your insert or update record. You should then select the one that says SERVER FILE to correctly identify the image name in your database.

Let me know if that helps any.

Cheers,

Brian