Your best friend for file transfer.Fetch
Rewritten File Paths (3 posts)
- Started 12 years ago by karst
- Latest reply 12 years ago from karst
Whenever I download HTML files from a server, using Fetch 4.0.1, and then OPEN those files in Dreamweaver in order to edit them, I notice a strange effect....
I notice that the file paths (for the various page contents) get re-written to reflect their new location on my own computer. But I DON'T want this to happen; I just want that source code to remain verbatim, as it was on the server, so that when I am done editing I can upload it and everything will fall into place as it should be.
Why does this happen? Is Fetch the cause of this, or is it something else? In any case, can anything be done to remedy the situation?
I'm tired of using awkward workarounds in order to get the work done....
Any advice will be gratefully appreciated.
Jim Matthews Administrator
It sounds like your pages have relative links, links that say where another page is in relation to the page you're viewing. That's a good thing, because it means that you can move the pages (as long as they stay in the same position relative to each other) without links breaking.
Fetch isn't the cause of this -- Fetch transfers the files exactly as they are. I think you're seeing Dreamweaver's expansion of relative links to show where they point currently. You'd have to consult with Macromedia or the Dreamweaver documentation to find out how you'd control its treatment of relative links. The first thing I'd try is doing nothing special -- if Dreamweaver stores them internally as relative links they'll still work when they're uploaded.
That sounds like it probably hits the nail on the head. Interestingly, I have found that when I drag- and- drop a downloaded file icon into an empty DW window, the source code remains pristine (i.e; not re-written).
Thank you very much for your advice.
- Page 1
This topic has been closed.