copying a file back to server when it is open for read

Discussion in 'AutoCAD' started by Jwatkins, Nov 7, 2005.

  1. Jwatkins

    Jwatkins Guest

    We are using "FileCopy SourceFile, DestinationFile" in VBA for
    returning a local copy of a Tiff to the server (after it had been
    attached to an AutoCad Map project and was no longer needed). There are
    many users that have READ access to those Tiffs. If one of the users
    has the file open for READ, filecopy will return an error 70. Is there
    a VBA command similar to FileCopy that would overwite a file if it open
    in read mode versus change mode? Would CopyFile work?

    Thanks, Joe
     
    Jwatkins, Nov 7, 2005
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.