Forums
This topic is locked
Linking to Uploaded File
Posted 21 years ago
1
has voted
21 years ago Brian Hutchison posted:
I recently purchased Pure ASP Upload and it is exactly what I needed for my project. Works great, instructions are very informative. Sends the files to the directory structure I specify and everything. Question:In the server behavior I can specify the full path with prefix and then show that on a results page. How can I make a link to that file so users can download it right from the results page? I use Dreamweaver MX for all of my work.
Database = MySQL
*CAVEAT*
I am not a programmer and I do not claim to be. I use Dreamweaver MX for all of my web site needs and to this day there is nothing I have not been able to do without using its GUI interface, absolutely love the program.
Many thanks for any assistance/guidance provided!
Brian
Replies
Replied 21 years ago
21 years ago Martha Graham replied:
Check this faq:
www.dmxzone.com/go?3893
Thanks for your kind feedback about the extension.
Martha Graham
DMXzone manager
www.dmxzone.com/go?3893
Thanks for your kind feedback about the extension.
Martha Graham
DMXzone manager
Replied 21 years ago
21 years ago Brian Hutchison replied:
Use Pure ASP Upload to put the filenames into a table in a database.
1. From the Bindings panel, choose Recordset.
2. Name the recordset rsDownload.
3. In Connection select your database connection.
4. Choose the table and select the fields you need.
5. Create your page that will show all the downloads. Drag and drop the needed rsDownload columns from the Bindings panel on the page.
To show more then one download file you can choose Repeat Region from the Server Behaviors panel.
6. Create links to the files.
All of this makes sense and is very easy to do, but I am lost on Number 6. How do you create links to those files? The path is saved, but not the domain name or anything like that. I am using a repeated region to display all of the records (with some filters). Just not really sure how to create links to those files in Dreamweaver, given that all that is saving is the path name with prefix, not domain name.
Does this make sense?
Edited by - hutch75 on 24 Sep 2003 23:24:50
1. From the Bindings panel, choose Recordset.
2. Name the recordset rsDownload.
3. In Connection select your database connection.
4. Choose the table and select the fields you need.
5. Create your page that will show all the downloads. Drag and drop the needed rsDownload columns from the Bindings panel on the page.
To show more then one download file you can choose Repeat Region from the Server Behaviors panel.
6. Create links to the files.
All of this makes sense and is very easy to do, but I am lost on Number 6. How do you create links to those files? The path is saved, but not the domain name or anything like that. I am using a repeated region to display all of the records (with some filters). Just not really sure how to create links to those files in Dreamweaver, given that all that is saving is the path name with prefix, not domain name.
Does this make sense?
Edited by - hutch75 on 24 Sep 2003 23:24:50
Replied 21 years ago
21 years ago Brian Hutchison replied:
Anybody?
Replied 21 years ago
21 years ago Martha Graham replied:
The path is relative to the site, use the same path as is used to display the items.
If you need help email me the page and I will help.
Martha Graham
DMXzone manager
If you need help email me the page and I will help.
Martha Graham
DMXzone manager