File acces

Situation:

A program written in FoxPro tries to find a file on a remote computer. It does find it.

Then a new file as added to that folder on the server. The client is trying to find the new file, but an error "File access is denied" is generated. The same file is being read from the server without problem.

Any ideas


Answer this question

File acces

  • cpark

    All the rights are granted.

    the file is a dbf, and it is shared. If the file is placed there by default, the program finds it.
    If it is newly created - the program does not find it

  • DLGrubb

    Does the client have necessary rights to read it If it has then it might be in use by another process.
  • Ren.

    "Does't find it". In your original message error was "Access is denied". I'm confused.
    Newly created tables are exclusively used by the creator until closed. Might that be your problem ie:

    Session A (or user A):
    create table xx (f1 i) && assume this is created on \\computerX\FolderY

    Session B:
    use ('\\computerX\FolderY\xx') && Access is denied or similar error
    Session A:
    use

    Session B:
    use ('\\computerX\FolderY\xx') && OK

  • File acces