Skip navigation
Currently Being Moderated

Using Dreamweaver ftp for file upload to host question

Dec 19, 2012 10:18 AM

My local site is set up with links relative to the root document.

The local root folder is defined as J:\xampp\htdocs\rootfilename\

I have not put anything in the field HTTP Address so it just shows http://

 

Once I have defined my remote site in the Dreamweaver setup I still have concerns regarding how dreamweaver will treat some of the links in my  localhost testing environment, I have changed some of the relative links to fully qualified paths such as :

http://localhost/rootfilename/filename.php

 

So my question is when i do the file transfer how does dreamweaver treat these full links, will it change localhost to the new host name, and the root directory name to the root directory name automatically for me (obviously after i have defined them in the remote site setup)?

 

And what about my file path names such as my includes files which I have had to make a full path for example:

include_once ("J:/xampp/htdocs/rootfilename/includes/filename.inc.php");

Will Dreamweaver remove the J:/xampp stuff and give it the correct fully qualified path?

 

Thank you in advance for your help, I just want to make sure everything is set up right before I start the transfer.

 
Replies
  • Currently Being Moderated
    Dec 19, 2012 11:03 AM   in reply to tessimon

    No DW will not update absolute paths in your code. Absolute paths will remain exactly how you've typed them on upload.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points