close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Download file

Thread began 1/11/2012 5:06 pm by newimage96814918 | Last modified 1/12/2012 8:32 pm by newimage96814918 | 736 views | 7 replies

Jason ByrnesWebAssist

create a record set to return the file name.

add a table to the page with 1 row and 2 columns.

in the column on the left, use the bindings panel and drag the binding for the file s title.

in the column on the right, add a form, a hidden form element and a submit button. for the hidden form element, set the initial value to use the file name column from the recordset.

now, in the tag selector at the bottom of the screen, select the TR tag for the table row. go to the server behaviors panel, click the plus button and select repeat region, select your recordset and set it to display all rows..

at run time, this will create a row in the table for each file in the database with a download button for each one.

now add the download file behavior. Use the Submit button pressed trigger.

for the file name, click the lightning bolt and select the hidden form element.

for the file folder, select the folder the files are stored in.

the forms submit button will now trigger the download behavior, and the download behavior will the name of the file to download from the hidden element.

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