Reply to Re: FTP Question

Your name:

Reply:


Posted by Jonathan N. Little on 11/26/15 11:19

Tony Cooper wrote:
> Since this group is probably familiar with the FTP process, I'll try
> this here:
>
> I haven't tried the Adobe Web Photo Gallery before, and I'm stuck at
> the FTP stage. I went through the steps to create the gallery, and
> end up with a folder that I named Webup.
>
> Webup contains:
>
> Subfolder: Images (contains .jpgs)
> Subfolder: Pages
> Subfolder: Thumbnails (contains .jpgs)
> Index.html
>
> I use Brandyware's FreeFTP and my Earthlink web space. I can't figure
> out how to upload the entire folder Webup, so I have to upload the
> contents of Webup and each subfolder.
>
> When I go to http://(earthlinkaddress)/index.html I get my page with
> the links to the images, but clicking on the links gives me a page not
> found. Obviously, there's no links between index.html and the images
> that I've uploaded. It seems to me that all of the contents of the
> folder and subfolders should be in one uploaded file.
>
> If you can make any sense out of this, and see what I'm doing wrong,
> please advise.
>
How are your links to your images coded? Relative paths or absolute of
your local folder on your hard drive (a common error)?

ex:

from www.domain.com/index.html

<img src="Subfolder/pix.jpg"> (will work)
<img src="/Subfolder/pix.jpg"> (will also work if index.html is in your
document root)
<img
src="file:///C:/Documents%20and%20Settings/You/Desktop/Subfolder/pix.jpg">
(this will obviously fail!)

Also I noticed your listed your document as 'Index.html' If you build a
webpage on a Windows system it is case insensitive, i.e.,

Index.html == index.html == INDEX.HTML == InDex.HtMl

This is NOT the case with *nix based web servers and so if in the
webpage the image src is "Subfolder/pix.jpg" but the image is named
"Subfolder/pix.JPG" is could work locally on your Windows system but
fail when uploaded.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация