• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

Cute FTP Help

ShadowAD

New Member
Hello,

I have made a web page using Frontpage and then used Cute FTP Pro to upload my page and also my files I have linked to the page

I tried the links before I uploded and the worked but were linked to my hard drive

I have now uploaded my page and links (files) to my FTP file mananger and everything works ok when I open the page but the links are still connected to my hard drive and not to the web host

Can you please tell me what I'm doing wrong and how to fix it (as you can see I haven't used this program before so if you can tell me in the simplest way

Thanks every one for your help and time

ShadowAD
 
I moved this to html/web design as that is where the problem lies (not with cuteFTP), but I am going to sleep now so I will leave it in the capable hands of the experts. :D
 
...

ummmmm when u use frontpage and you link to files on ur hard drive, then when u upload, ur files will still be linked to ur hard drive...

soooooo open your pages up in frontpage again and this time link them to your website files... like link to http://www.yoursite.com/file.html or whatever... so when u upload, ur files will still be linked to http://www.yoursite.com/file.html and not ur hard drive...

it sounds confussing, but im in a hurry...

- SF
 
Yeah, i agree, it sounds like your files are linked to for example: "C:/My Documents/file.htm" when it should be "www.yourhost.com/file.htm" although, in your code, depending on what directories and such you have, "file.htm" would suffice.
 
Getting There (Slowly)

Thanks everyone for your replies so far

This is quickly what I did

As everyone was nice to tell me I changed the links address and yes it works now BUT

I wanted to know if there's a easier way of doing this as follows

I go to hyperlinks in frontpage and find a file I want and click on it

I then open up the hyperlink again and change the link address from my hard drive to my web page but leave the name of the file to be uploaded at the end

This as I said works fine but there must be a quicker way of doing this I'm sure

Does anyone know how

ShadowAD
 
I don't know about FrontPage but I'm sure you can get it to use relative paths.

It's easier if you arrange your local files as a mirror of your web site and use relative URLs. If you have all files in a folder named MySite and put the HTML files directly in that folder and the images in a sub folder named for instance "images" you can use paths like this:

<a href="blah.html">
<img src="images/bleh.gif">

That way the paths will work on your drive, on my drive on the server, anywhere. ;)
 
...

its easier to just edit the html in frontpage (click the HTML tag near the bottom left)... go to EDIT then REPLACE then type in ur hard drive location (c:\folder\site\) where all the links are linked to and then replace it with ur site addy (http://www.yoursite.com/) soooooooo if u have the following:

Code:
<a href="c:\folder\site\home.htm">Home</a>
<a href="c:\folder\site\news.htm">News</a>
<a href="c:\folder\site\stuff.htm">Stuff</a>

it would replace the location and make it like this:

Code:
<a href="http://www.yoursite.com/home.htm">Home</a>
<a href="http://www.yoursite.com/news.htm">News</a>
<a href="http://www.yoursite.com/stuff.htm">Stuff</a>

- SF
 
Back
Top