Your best friend for file transfer.

Silly Question Time (7 posts)
- Started 18 years ago by cliffd
- Latest reply 18 years ago from Jim Matthews
-
cliffd Member
-
Jim Matthews Administrator
If possible you want to keep all the files and folders in the same relative positions on the server as on your Mac.
It would help me to know a bit more about how your files are organized. Did Dreamweaver create an index.html page? Is it in the same folder as all the other HTML pages, or is it outside that folder? Is the images folder inside the HTML folder?
Thanks,
Jim Matthews
Fetch Softworks -
cliffd Member
Jim,
Thanks for your reply. Let me answer your questions in turn.
First - Dreamweaver did not create an index.html page. I mistakenly created a homepage.html page but I have since renamed this to index.htm after reading help pages about uploading to an ISP. All other HTML pages & links have been cross-referenced to index.htm and previewing the website in a number of different browers all seem to show that the site "works properly".
Second - index.htm is in the same folder as the other HTML pages.
Third - all images are in a sub-folder within the folder that contains the HTML pages. Currently, Dreamweaver is referenced to the images in the sub-folder. I have established the links to the images using Dreamweaver's "point to file" feature that allows you to open the folder containing the images, and "point" to the image you want to use.
I hope this helpss.
Regards,
Cliff
-
cliffd Member
Jim,
Thanks for your reply. Let me answer your questions in turn.
First - Dreamweaver did not create an index.html page. I mistakenly created a homepage.html page but I have since renamed this to index.htm after reading help pages about uploading to an ISP. All other HTML pages & links have been cross-referenced to index.htm and previewing the website in a number of different browers all seem to show that the site "works properly".
Second - index.htm is in the same folder as the other HTML pages.
Third - all images are in a sub-folder within the folder that contains the HTML pages. Currently, Dreamweaver is referenced to the images in the sub-folder. I have established the links to the images using Dreamweaver's "point to file" feature that allows you to open the folder containing the images, and "point" to the image you want to use.
I hope this helpss.
Regards,
Cliff
-
Jim Matthews Administrator
Yes, that does help. You should upload all the files and folders in the HTML folder. To do this, follow these steps:
1) Connect to your server
2) Navigate to the folder where your web page files should go. You might start out in the right place, or you may need to enter a folder named "www", "public_html", "webdocs", or something similar.
3) Choose "Put Folders and Files..." from the Remote menu.
4) Navigate to the HTML folder on your hard disk
5) Click the Add All button, and then the Done buttonThanks,
Jim Matthews
Fetch Softworks -
cliffd Member
Jim,
So, the images can stay in their sub-folder and I can transfer them in this way?
And, the links between the HTML page and the images wsill be retained?
Regards,
Cliff
-
Jim Matthews Administrator
That's correct. Dreamweaver should encode those link as "relative URLs". A relative URL (such a "images/myimage.jpg") says something like "use the image named 'myimage.jpg' in the folder named 'images' that's in the same folder as this HTML file". Such a URL will work as long as you preserve the relative positions of the HTML file and the image file.
Thanks,
Jim Matthews
Fetch Softworks
- Page 1
Topic closed
This topic has been closed.
Hello,
I have just build my first webs-site, using Dreamweaver and want to post it to my ISP - NTLWORLD.
On my Mac, the HTML pages are in one folder and the images are in another. Naturally, there are links between the pages & the images so that they display correctly on the web.
My question is: When I start to upload the files, do they all have to be in the same folder, or can I keep them in their separate folders?
If they are in separate folders, are the links maintained, so that they are displayed properly by people viewing the web-site?
Thanks in advance.
Regards,
Cliff
Posted 18 years ago #