close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Unique File Name Instered Into Database

Thread began 9/23/2013 6:14 pm by vernon webb | Last modified 9/24/2013 11:41 am by vernon webb | 1613 views | 8 replies |

vernon webb

Unique File Name Instered Into Database

I am uploading a file successfully and inserting into a database record with the file that is being uploaded. Everything is working fine except when the file name has been renamed to a unique name. I have tried using the lighting bolt to navigate to the "Upload Files > Server File Name" (as seen in attached image, also tried with path) but no matter what I try I the original file name is posted.

Sign in to reply to this post

Jason ByrnesWebAssist

The server file name variable should give you the correct name. How is the file name being changed?

send a copy of your page using the server file name binding so I can see the code please.

Sign in to reply to this post

vernon webb

Not sure what your question is. This form is attached...

Attached Files
upload_tracking_form.php
Sign in to reply to this post

Jason ByrnesWebAssist

You have the renaming settings set to rename the existing file, you should be renaming the new file instead.

If you where to use the rename existing file settings, you would need to look up the record for the old file and update that as well as insert the new file.

Use the Rename New File option and the new file name will be inserted to the database and the record for the existing file will not need to be updated.

Sign in to reply to this post

vernon webb

I'm sorry but I'm not following you here. I assume you are talking about the Update record? However I don't see that.

Sign in to reply to this post

Jason ByrnesWebAssist

no, in the upload file server behavior the renaming option is set to rename Existing.

Set it to rename The New file instead.

Sign in to reply to this post

vernon webb

Ahhhhh ok, so the file that already existed on the server was being renamed and the new file was keeping the old name? Backup purposes?

Sign in to reply to this post

Jason ByrnesWebAssist

yes, that is correct, you want it to happen the other way around, retain name on old file, rename new one.

Sign in to reply to this post

vernon webb

Thanks

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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