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

file upload rename problems

Thread began 3/13/2013 3:32 pm by Christopher West | Last modified 3/18/2013 11:25 am by Christopher West | 1275 views | 9 replies

Christopher WestCommunity Expert

file upload rename problems

Hi just having odd behaviour with some coding:

I have 2 pages one is ADD new image and the second is UPDATE image.

but im have a blonde moment it seems as for some reason I cannot get my head around the logic and I have tried different variations... for example of one of the variations that goes wrong....when an image uploads when it renames it creates a duplicate file extension on the new file on the server ( image.jpg.jpg) or it appends the file like so (image.jpg_1)

could you give me a rund down of which options to select for renaming:
from the Dynamic Data panel in File Manipulation Upload wizard I have many options to chose from ie:
1. Upload Files (imagefile)
status code
error messafe
client file name
file extension
server file name
service simple file name
.....
2 updateleaderboard (this is my html form)
imagefile
>imagefile Field Name
>imagefile temp path
>imagefile simple file name
.....

I have attached the 2 files to show my current image upload code....

All I want is to make sure the new file that's being uploaded will append _1 _2 etc on the end of the file (not on the end of .jpg extension as its currently doing)

Chris

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