file has been changed by another application. Reload it?

file has been changed by another application. Reload it?

2
NewbieNewbie
2

    Jul 05, 2006#1

    Hi

    I'm opening my files (and saving them) to FTP - for most files this works just fine, but some files gives me the box where it says:

    file has been changed by another application. Reload it?

    I notised that it happens on a specific file extension.

    The file is called functions.js and I tried to copy the contens to a fresh file and saving it. It seemed to work for a bit but now I get the message again.

    Can anyone help me out?

    //mcfly

    9
    NewbieNewbie
    9

      Jul 24, 2006#2

      This happens with a file that is "live." UltraEdit is working as expected in this case, the problem is working on a production file that is dynamic. You need to pull a file down to the workstation, edit it, then upload it back.

      OR

      You can disable that function within UE by opening up the Configuration Screen and going to "File Handling" then "File Change Detection."

      I would be curious as to why an FTP file would be changing, especially an .js file. Are there multiple users access and changing this file, or is it a function of the web application itself?

      2
      NewbieNewbie
      2

        Jul 27, 2006#3

        I'm the only person that has access to that file, and it is not changing while I have it open. I was thinking that it might have something to do with headers or something from the ftp server.

        6,675585
        Grand MasterGrand Master
        6,675585

          Jul 27, 2006#4

          Play with the settings at Configuration - File Handling - Advanced. Maybe one helps. For details see the help about this configuration dialog.

          But I think the (Apache) server where you upload the .js files does something which lets UltraEdit think, that the file must be reloaded. Maybe it changes the attributes of the files or modifies the file time immediately after upload.

          Look if you have at the root of your website a file named .htaccess which contains some special rules for .js files. .htaccess files are normally hidden. You have to use a FTP program and set it to show also hidden files to download and view it. Also ask the support of your webhoster/provider. Maybe the support has an idea why .js files causing the problems with file reload.
          Best regards from an UC/UE/UES for Windows user from Austria

          48
          Basic UserBasic User
          48

            Jul 27, 2006#5

            Unfortunately, Apache modifies file access timestamp thus UE detects that as a file-change event.
            The only fix is to disable UE "File Change Detection". A second editor I'm using, Epsilon, uses a much more flexible approach to this issue. It has an option to independently disable file change detection on removable devices, network shares, local disks or wan shares.
            I wish UE had something similar...