The PuritanBoard  

Go Back   The PuritanBoard > General Forums > Computers & Technology

Computers & Technology Bible software, computer support questions and other helpful technology matters

» Online Users: 49
18 members and 31 guests
APuritansMind, CaseyBessette, Chaplainintraining, Ed Franklin, gene_mingo, Glosi, GMcClain20, jfschultz, KMK, LarryCook, LawrenceU, Leslie, nleshelman, satz, SolaScriptura
Most users ever online was 856, 07-06-2007 at 12:19 AM.
Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-23-2006, 09:35 PM
Puritanboard Freshman
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
How to Link to Ftp File?

Alright, I'm trying to upload some audio files to my webspace--which I can do fine--however, I am unable to link to that specific audio file from my webpage succesfully (I get a 404 error). Can anybody help?
__________________
Victor Triana
<a href="http://www.allsaintsreformed.org">All Saints Reformed</a>
Diamond Bar, California
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old 02-23-2006, 09:39 PM
fredtgreco's Avatar
PCA Pastor
 
Join Date: Oct 2002
Location: Katy, Texas
Posts: 8,163
Thanks: 115
Thanked 1,356 Times in 604 Posts
You do not link to the ftp. You use ftp to upload the audio file to your website, which will then need an http link.

You can see how I do it by going to:

http://tulipfaith.com/audio/
__________________
Fredrick T. Greco
Senior Pastor, Christ Church PCA (Katy, TX)
Christ Church Blog

"The heart is the main thing in true religion...It is the hinge and turning-point in the condition of man's soul. If the heart is alive to God and quickened by the Spirit, the man is a living Christian. If the heart is dead and has not the Spirit, the man is dead before God." (J.C. Ryle)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old 02-23-2006, 09:40 PM
Puritanboard Freshman
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
And how do you assign an http link to that directory/file?
__________________
Victor Triana
<a href="http://www.allsaintsreformed.org">All Saints Reformed</a>
Diamond Bar, California
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old 02-23-2006, 09:44 PM
fredtgreco's Avatar
PCA Pastor
 
Join Date: Oct 2002
Location: Katy, Texas
Posts: 8,163
Thanks: 115
Thanked 1,356 Times in 604 Posts
You want to place the file in your http folder on the server.

You should have an "httpdocs" folder or "http" folder. Ask your provider. Putting something in that main folder will cause it to be at the root. So for example if you upload sermon.mp3 into that folder, and your main website was www.website.com, the link would be

Code:
http://www.website.com/sermon.mp3
If you create a subfolder, say "audio" and put it there, then the link would be:

Code:
http://www.website.com/audio/sermon.mp3
__________________
Fredrick T. Greco
Senior Pastor, Christ Church PCA (Katy, TX)
Christ Church Blog

"The heart is the main thing in true religion...It is the hinge and turning-point in the condition of man's soul. If the heart is alive to God and quickened by the Spirit, the man is a living Christian. If the heart is dead and has not the Spirit, the man is dead before God." (J.C. Ryle)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old 02-23-2006, 10:15 PM
Puritanboard Freshman
 
Join Date: Jul 2004
Posts: 419
Thanks: 0
Thanked 0 Times in 0 Posts
Vic,

Here is the code you put in your html page to link to a file:

Creating a link

Here is a tutorial that you might find helpful for html
HTML Goodies Tutorial

[Edited on 2-24-2006 by Presbyrino]
__________________
Steve Tijerina
<a href="http://www.nccopc.org/" target="_new" style="text-decoration: underline;color:blue;">New Covenant Community Church (OPC)</a>
New Lennox, IL

[i]Therefore, since we are surrounded by so great a cloud of witnesses, let us also lay aside every weight, and sin which clings so closely, and let us run with endurance the race that is set before us, looking to Jesus, the founder and perfecter of our faith, who for the joy that was set before him endured the cross, despising the shame, and is seated at the right hand of the throne of God. Consider him who endured from sinners such hostility against himself, so that you may not grow weary or fainthearted.
(Hebrews 12:1-3 ESV)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6 (permalink)  
Old 02-23-2006, 10:26 PM
Semper Fidelis's Avatar
Administrator
 
Join Date: Oct 2005
Location: Northern Virgnia
Posts: 13,149
Thanks: 1,249
Thanked 2,862 Times in 1,344 Posts
Fred gives good advice but I want to make sure I understand how it is your having trouble linking to them.

Are you trying to browse to them directly from a web browser window by typing the direct URL to the file itself?

OR (as I likely suspect)

Have you created a web page using a program like frontpage or Dreamweaver and you create the link to the audio file and then when browse the page and click on the link to the audio file you get the error?

I'm guessing it's the latter. When working with HTML editors, especially the ones that kind of do the work for you, they allow you to add html links by linking to files on your computer. Those files are in a certain directory structure on your computer and that directory structure MUST be replicated on your web server.

Here's what I'm talking about:

I create my audio page, call it audio.html, in c:\My Documents\My Webs\Church Website\

The audio file in question is named file.mp3 for the examples.

Case 1: If I link to an audio file that is contained in c:\My Documents\My Webs\Church Website\ but when I upload audio.html to my web server, the hyperlink will read: http://www.website.com/file.mp3.

Why is that? Because the file.mp3 and audio.html are in the same directory on your hard drive and the HTML editor knows that and creates the link accordingly. You need to upload the file.mp3 into the same directory as audio.html.

Case 2: If I link to an audio file that is contained in c:\My Documents\My Webs\Church Website\audio\ then the link that will show up on the Internet is http://www.website.com/audio/file.mp3

Again, the audio subdirectory is related to the file audio.html by being one directory below the current directory.

Case 3: Suppose I link to an audio file that is is contained in the c:\audio\ directory. BAD!!! The html editor does not know how to create the relative link.

Bottom line:

1. Think of your domain name as the "root directory" on your web server where your web page files will go (technically it's the public_html directory or www directory but for URL display it's root).

2. Everything after a slash is a subdirectory to a domain: http://www.domain.com/subfolder1/subfolder2/subfolder3

The directory structure corresponds to:
www
---subfolder1
------subfolder2
---------subfolder3

It's all about file management. HTML merely points to files. If the pointer is to the wrong place then it's not going to find the file. It's called a URL because it is a universal resource locator. If you specify the wrong location, it cannot find the resource.

[Edited on 2-24-2006 by SemperFideles]
__________________
Rich
Northern VA
PCA

WebsiteMaven - Web Hosting Reviews, Guides, and Advice to build and promote your web site.
SoliDeoGloria.com - A Community for Reformed Thought and Discussion

Click to get: Board Rules -- Signature Requirements -- Suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old 02-23-2006, 10:28 PM
Puritanboard Freshman
 
Join Date: Feb 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks brothers.
__________________
Victor Triana
<a href="http://www.allsaintsreformed.org">All Saints Reformed</a>
Diamond Bar, California
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Powered by vBadvanced CMPS v3.0.1

All times are GMT -5. The time now is 09:06 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 PuritanBoard.com
Hosted by WebsiteMaven - helping ministries with web hosting advice, reviews, and design.
Westminster Abbey © Confessional Presbyterian Presses - used with permission.
Add Our Custom Button to your Google Toolbar

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65