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

File Manipulation - Download

Thread began 4/05/2013 8:35 pm by wellsjm435768 | Last modified 4/07/2013 8:44 am by wellsjm435768 | 362 views | 5 replies |

wellsjm435768

File Manipulation - Download

I attempted to place 3 separate buttons on a single page to download 3 separate files. When I tested the page each button downloaded the same single file instead of the individual file intended.

THIS IS WHAT I WANT

Button 1 downloads File 1
Button 2 downloads File 2
Button 3 downloads File 3

THIS IS WHAT I AM GETTING

Button 1 downloads File 1
Button 2 downloads File 1
Button 3 downloads File 1


How can I accomplish this task?

Thanks in advance.

Sign in to reply to this post

Jason ByrnesWebAssist

You will need to add three separate forms to the page.

each form should contain a Submit button and a hidden element.

In each form, set the name of the hidden element to be the same. The value of the hidden element should be the name of the file to delete,

in the download behavior, bind the file name to the hidden element.

Sign in to reply to this post

wellsjm435768

I got the download to work, but when the files are downloaded, they all have the same name. I attached the file for you to look over.

Thanks Jason

Sign in to reply to this post

Jason ByrnesWebAssist

you have 3 instances of the file download behavior, you only need to have one instance.

on that one instance, for the save as setting, set it to:
[FileName]


this will use the downloaded file name as the save as file name.

Sign in to reply to this post

wellsjm435768

This is great! 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...