CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Downloading files - Resolved - Ignore

Print topic Send  topic

Author Message
flipandboef


Posts: 107
Posted: 02/26/2007, 2:17 PM

I have a table with a field called FileName that has the filename stored in it when I use the Upload controll..
In the same table I have a field called FileTitle.
When I display these files in a grid and make the label FileTitle a link that links to FileName, I like for that the user can download this file...

The value in FileName is for example: Test.doc
What happens:
When I click on the link, it cannot find the page. It goes to my root (while the file is in the access_db folder!) and puts FileID=1 behind it in the url...
--> http://www.mydomain.com/test.doc?FileID=1

When I Right-Click on it, and choose: Save Target As... It comes up to save it, but the extention is gone and it's set automatically to HTML..
--> test.html
When you know the extention, just change it and it's fine, but of cos people will not know it...
When I look into the HTML, it seems fine, like I would do it in HTML myself (that works fine!!), but of cos with labels in it...

I have tried to add in the <a href.. -->
http://www.mydomain.com/access_db/{Filename}, but this prevents it from showing anything in my list at all!

Anyone any ideas how to get this issue resolved?
Thanks!

View profile  Send private message
flipandboef


Posts: 107
Posted: 02/26/2007, 2:51 PM

Don't know what went wrong, but after republished 5 times, issue got resolved by itself ...
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.