close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Duplicate file extension on upload

Thread began 10/03/2009 2:04 pm by georgina_barrett_187762 | Last modified 10/14/2009 7:39 pm by Jason Byrnes | 2148 views | 7 replies |

georgina_barrett_187762

Duplicate file extension on upload

I have followed the tutorial for inserting and updating image files. It all works - the images upload to the web server and the files name gets stored in the database however when the filename gets stored it gets stored with a duplicate extension ie .jpg.jpg on the update image form and the images get uploaded with an extra .jpg.

I have tried removing the server behavior and redoing it - but I still get the same problem. There only seems to be a problem on the update form.

Sign in to reply to this post

David StringerBeta Tester

Hi Georgina,

If you visit this link showthread.php?t=4964 and check out what Jason told me, I think it will remove the second jpg for you.

Sign in to reply to this post

georgina_barrett_187762

Thank you David but I don't think your problem was the same. I have checked through that thread but I don't have any errors or permission problems. The images are getting uploaded perfectly and I can view them if I go to them directly through the url. The problem is that the filename is getting stored in the database with an extra extension ie .jpg.jpg

Sign in to reply to this post

Jason ByrnesWebAssist

Can you compress the update page in a zip file and send it along in your reply so I can take a look at the code to seer what the problem may be.

Sign in to reply to this post

georgina_barrett_187762

It is storing the image with and extra extension and uploading the image with an extra extension. I have attached the upload file

Attached Files
cruises_Update.zip
Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this.

To view and edit your support ticket, please log into your support history:
supporthistory.php

Sign in to reply to this post

info381905

Same error

Hi could you please post the conclusion to fixing this issue. I am currently having the same problem.

Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

The problem Georgina was having was caused by not using the proper value for the "File" on the second page of the upload file wizard.

make sure this is set to [FileName] for the uploaded file to be named properly.

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