PDA

View Full Version : uploading files to website



rgrstvr
08 Jun 2009, 04:39 PM
Do both DreamWeaver and separate FTP programs such as SmartFTP maintain the links between files when files are uploaded to a website?

Wickham
09 Jun 2009, 02:49 AM
Yes if you create directories on the host server which replicate the folders on your computer.

So where you have a root directory on the server, create within that a main directory called say mywebsite and that should correspond with your main folder for your website on your PC called mywebsite, then you might have a sub-directory for images on the server and a sub-folder called images on your PC.

Then relative links in your code like img src="images/image22.jpg" will work after uploading via ftp.