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