Forums

Downloading uploaded files

Flying_Badger 28 Aug, 2014
Hi

I was pretty sure there must be an answer to this somewhere on for forum, but after 25 pages I have found a solution but it is not working. A couple of days ago I had this working perfecty on the development site, now I have moved it to the clients server and it has stopped working.

Basically I want to be able to download text documents that have been uploaded. I found a solution here: http://www.chronoengine.com/forums/posts/f12/t17931/linking-to-and-showing-uploaded-files.html that worked previously, but now I am getting 2 failures for the two methods I have tried.

1. My original set-up, that worked previously and follows the information on the aforementioned link is this: <p>Proof of Commitment: <a href='/components/com_chronoforms5/chronoforms/uploads/scholarships/{applications.commitment}'>{applications.commitment}</a></p>

Result is a 404

2. I have also tried this, with a complete path: <p>Country of Residence: <a href='192.185.116.71/public_html/components/com_chronoforms5/chronoforms/uploads/scholarships/{applications.residency}'>{applications.residency} </a></p>

And it results in: Connection's name not present!

Can anyone advise?

many thanks

jo
GreyHead 29 Aug, 2014
Hi jo,

You have paths and URLs mixed up here. Try this with the http:// and without the public_html
<p>Country of Residence: <a href='http://192.185.116.71/components/com_chronoforms5/chronoforms/uploads/scholarships/{applications.residency}'>{applications.residency} </a></p>


Bob
Flying_Badger 03 Sep, 2014
Hi Bob

Many thanks. Took a bit of head scratching figuring out that the problem was the link to the development site, but all has turned out very well.

Your products are brilliant. Have now started using the forums as well, so... many thanks

Jo
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger