HostNed Community

WEB HOSTING DISCUSSIONS => General Hosting => Topic started by: misery on March 17, 2007, 09:05:37 PM

Title: Linking to my FTP
Post by: misery on March 17, 2007, 09:05:37 PM
So I'm new to this whole thing, and before my friend has time to help me set up my site, I need to know how to just link stuff to my FTP.

For example I want to upload a picture to my FTP (which folder does it go in?) so I can link someone to it so they can view it on-line?  What would the address be to get that picture (www.mysite.com/thefolders/thepicture.jpg) something like that?

Thanks
Title: Re: Linking to my FTP
Post by: ctwjr on March 20, 2007, 11:09:34 PM
Well, it seems like you have the right idea on some things but are confused on others.  Your idea of having a link structure like (www.mysite.com/thefolders/thepicture.jpg) seems good.  Now let me tell you something about FTP.  You do not link things to your FTP.  FTP is a file transfer protocol -- a vehicle to transport the data files from your local computer to the web server.

So using an FTP program to connect to your server space, once connected there you will see some directories there.  This structure is known as the "domain root".  It is slightly different depending on which specific web server you are on, but it will look something like this:

/error_docs
/httpdocs
/httpsdocs
/private
/stats

Your actual directories (aka folders) in your web space may be different and you may have more or less, but that is not really important.  The important thing is that you locate the directory named "httpdocs" or "htdocs" or "public_html".  Using your FTP program, enter that directory and then transfer your web files into there.  So for example, if you put a file named "dog.jpg" in there, you will be able to view that online at http://yourdomain.com/dog.jpg or http://www.yourdomain.com/dog.jpg

I hope this helps you :)