Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Text Link To A File


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 13, 2010, 11:49 PM
ChrisPanimation's Avatar
ChrisPanimation
 
68 posts · Nov 2009
Mississauga, ON
Hey guys,
This seems like it should be straight forward but I'm not seeing how to do this - and can't find it in search...

How do I make a text link to a file. I want my visitors to be able to click on a text link so that they can download a file. (I don't want to link to a URL - but rather a file sitting in my ftp which can be downloaded by the visitor).

I'd like to do this in the center area in one of my pages.

Chris
  #2  
Old Feb 14, 2010, 05:46 AM
juggledad's Avatar
juggledad
 
22,327 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
<a href="ftp://yourdomain.com/filelocation/filetodownload.txt">Download file</a>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 14, 2010, 08:15 AM
ChrisPanimation's Avatar
ChrisPanimation
 
68 posts · Nov 2009
Mississauga, ON
Thanks JD, I'll try that right now.
  #4  
Old Feb 14, 2010, 08:49 AM
ChrisPanimation's Avatar
ChrisPanimation
 
68 posts · Nov 2009
Mississauga, ON
Like this?

<a href="ftp://animcareerpro.com/blog/wp-content/themes/atahualpa/Flash_Workshop1_Ex.A.fla" >TestLink</a>

Note:
The file I want for download is: Flash_Workshop1_Ex.A.fla


Windows gave me this error message when I tried to download it from my site.
C:\Users\Chris\Desktop\Flash_Workshop1_Ex.A.fla could not be saved, because the source file could not be read.
This is if I right click and go - "save link as"

If I just click on the link it times out.

Here's my site if you want to test it animcareerpro.com/blog - In the "Training Exercises" page.

Last edited by ChrisPanimation; Feb 14, 2010 at 08:58 AM.
  #5  
Old Feb 14, 2010, 10:39 AM
juggledad's Avatar
juggledad
 
22,327 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
It may have to do with the multiple '.' in the file name. why don't you zip the file
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Feb 14, 2010, 11:16 PM
ChrisPanimation's Avatar
ChrisPanimation
 
68 posts · Nov 2009
Mississauga, ON
Ok, I got rid to the "." and ziped it but that's not working. I'm getting the same message - been fussing with it for hours - any suggestions. I'm still working on it here...

<a href="ftp://animcareerpro.com/blog/wp-content/themes/atahualpa/Flash_Workshop1_ExerciseA.zip">TestLink</a>
  #7  
Old Feb 15, 2010, 05:34 AM
juggledad's Avatar
juggledad
 
22,327 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Chris try this, get rid of the leading 'ftp://'
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Feb 15, 2010, 09:56 PM
ChrisPanimation's Avatar
ChrisPanimation
 
68 posts · Nov 2009
Mississauga, ON
That worked - you have to right click and "save link as" but it downloads....so I did a test and downloaded the file, but the files are corrupt after being downloaded. They do open no problem from my local drive.

That's probably out of your juristiction of advise...I don't know if this has anything to do with Atahualpa.
  #9  
Old Feb 16, 2010, 04:55 AM
juggledad's Avatar
juggledad
 
22,327 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Try a TEXT file. you may be running into a translation issue. Zip your file and try that too.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #10  
Old Feb 18, 2010, 09:13 PM
ChrisPanimation's Avatar
ChrisPanimation
 
68 posts · Nov 2009
Mississauga, ON
I got it. It just had to start like this...

<a href="http://

cheers!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Link problem in text widget gina31 Sidebars & Widgets 9 Jan 23, 2013 02:27 PM
Text Widget Image Link to Page Zona Sidebars & Widgets 3 Jan 26, 2010 04:17 AM
Read more link right next to body text on each page when using nextpage? Jozefs Center area post/pages 7 Jan 5, 2010 08:30 AM
How to change anchor text used for %author-link% ? JFG Post-Kicker, -Byline & -Footer 0 Dec 29, 2009 09:29 AM
Text Widget HTML Link Strangeness wdouzel Sidebars & Widgets 1 Mar 16, 2009 08:07 PM


All times are GMT -6. The time now is 08:28 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.