Publishing to FTP...References all to wrong place???

P

Phil

So, when I publish to the my ftp server, Publisher references all the images
and links to my ftp folder, not the web address. I'm assuming this is a
simple setting that I need to fix....

Any ideas....
 
P

Phil

Actually that is what is supposed to do...

The problem is that no images will load because the browser is attempting to
access the ftp (for example, the image source is set as
ftp://de23.hosting.com/index_files/1230.jpg --- but should be
src=http://www.mysite.com/index_files/1230.jpg)

My site published to the web perfectly fine for two weeks, using the exact
method you outlined, but then last night I updated, and no images will load,
and it can't link to other pages from the publication (Again, the browser is
trying to access ftp://de23.hosting.com/index_files/page2.htm instead of
www.mysite.com/index_files/page2.htm )

I'm assuming I checked or unchecked something funky.... (In addition, I
also attempted to "Publish to Web" by saving the file to my desktop, and then
uploading the index files and the index.htm through a seperate FTP client,
but then everything was attempting to reference the file location on my
computer.

HOW do I get Publisher to set the image sources correctly, and not make
browsers unsuccessfully attempt to access the ftp folder?
 
D

DavidF

OK. It sounds like you may be using a Master Page? If you place images on a
Master Page then you can end up with the path pointing to the C drive on
your computer. Don't use a Master page in a Publisher website. Its also
possible that instead of inserting and embedding your images into your Pub
page, that you linked to them from where the images reside on your C drive.
If you do this, then those images will not be uploaded. And since you said
that you can't see the other pages, that would imply that you did not upload
the index_files folder that contains the other pages, and is supposed to
contain the supporting graphics. Look to those three things and hopefully
you'll see where you are going wrong.

DavidF
 
P

Phil

I'll check the master page issue.....I don't believe I'm using one, but its
worth a shot.

And the hyperlinks aren't referencing the C drive, they're pointing to the
ftp. (href=ftp://webhost.host.com/index_files/page2.htm)

Everything is uploading, but when Publisher is actually converting the site,
it is not doing the href= or image sources correctly. Then, when the
browser tries to link to the ftp site, it doesn't have the password, and so
none of my images show, etc......

check here....

http://www.broadwaybands.org/index_files/Ensembles.htm

Try to navigate to one of the other pages, and you'll see where it tries to
go....

THANKS FOR THE HELP!


And for the
 
P

Phil

To clarify my question:

Publisher is using the wrong reference path. When I "Publish to Web" to my
ftp server, the code generated references the ftp server. Is there some
way to set Publisher to use Relative paths?

------------------------
 
D

DavidF

Hi Phil,

Well, you got yourself into a pickle, didn't you? ;-) Thanks for posting the
link. It really helps.

If you mouse over the links on your menu/navbar, you do indeed see all but
one of them point to an ftp path. The one link that doesn't is your photos
link: http://picasaweb.google.com/broadwaybands

While it could be something else, the first thing I would do is rebuild your
navbar. You can't include a link to an outside site such as the Picsa link,
and I suspect that is what is breaking everything else. You need to remove
it from the Publisher wizard built navbar to get the other links right.

I know, you want the link to the photos page to look the same. Perhaps,
create a Photos page where you give a quick introduction to the Picsa
content, and then give your viewer a link from that site.

Alternatively, before you change anything in your Publisher file, you could
Publish to the Web, and direct the output to a folder on your hardrive.
Explore the index_files folder and find the two button graphics that have
been generated for the Photos button. The navbar wizard and the html coding
engine will make two gif files for each button on your navbar. You want the
"Off" Photo button. The "On" button will have the white fade highlight.
Rename it and save it to where you can find it on your hard drive.

Then, go ahead and rebuild your navbar, without the photo page button.
Insert the "Off" photo button gif image that you saved before you changed
the publication, and place it at the end of your wizard built navbar, group
it together. Insert your hyperlink to your Picas page. Then copy and paste
it on all your other pages. This should at least keep the current look of
your site.

Try rebuilding the navbar, and see if that doesn't fix the html output. If
it does, then clean out your old files from your host before you upload new.
As per rebuilding the navbar, there are some good instructions in Help. Type
in "navigation" and you will find it. Its a better explanation than I can
give to you here, and its not that hard.

Let us know if this work for ya. Good luck.

DavidF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top