Skip to main content
filmriss
Known Participant
September 29, 2017
Answered

'filename' is not a local file

  • September 29, 2017
  • 2 replies
  • 1327 views

Hi everyone,

I have a website done with Dreamweaver CS6. Each web page refers to files to be included such as .css and .js. In Dreamweaver CS6, those files can be easily opened by clicking on it in the status bar.

However, if I open the very same web site in Dreamweaver CC, there comes an error message "'filename.css' is not a local file", together with a link to download the file from the remote server. If I follow that link, it says 'filename is not on a defined site". (The error messages might be slightly different because I translated them from German to English.)

I tried to export the site from CS6 and import in CC, to no avail.

I know, there was a discussion in 2013 saying the problem will be fixed… but apparently it hasn't or I'm missing something…

Thank you for your help!

    This topic has been closed for replies.
    Correct answer BenPleysier

    Have you had a look at Re: "file not on the local disk" warning when it absolutely is

    2 replies

    Jon Fritz
    Community Expert
    Community Expert
    October 6, 2017

    When you say this...

    "I tried to export the site from CS6 and import in CC, to no avail."

    ...what, exactly, do you mean?

    What steps did you take to export from CS6 and import to CC, and what went wrong exactly?

    That basic process should be a relatively foolproof way to get a functioning site from CS6 into CC with identical settings.

    filmriss
    filmrissAuthor
    Known Participant
    October 7, 2017

    What I meant is that I exported the working site definition file from CS6 and imported it in CC. That was indeed foolproof, the site definition is there. However, the problem I described occurs with CC but not with CS6.

    Nancy OShea
    Community Expert
    Community Expert
    October 7, 2017

    Can you open the CSS file in code view?

    Does it contain errors?

    Nancy O'Shea— Product User & Community Expert
    Nancy OShea
    Community Expert
    Community Expert
    September 29, 2017

    You must define your local site folder in DW CC.

    Go to Site > New Site and select the appropriate folder on your hard drive.

    You Files Panel should resemble this where MyTestSite is the local site folder.

    Nancy O'Shea— Product User & Community Expert
    filmriss
    filmrissAuthor
    Known Participant
    September 30, 2017

    Thank you, Nancy. I did that even before posting my question. The folder is correctly defined, I believe; however, some files are marked with a question mark. They open when I double-click on it (so they're definitively there) but they don't open in the status bar.

    The problem with that is that some functions like Live View don't work if the file is this way "unavailable".

    Any idea?

    Nancy OShea
    Community Expert
    Community Expert
    September 30, 2017

    You're working with PHP files.  Do you have a local testing server defined in DW?

    Nancy O'Shea— Product User & Community Expert