Results 1 to 4 of 4

Thread: File Replication either via VB app or VB Script on Windows 2000 Server

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2002
    Location
    QLD, Australia
    Posts
    18

    File Replication either via VB app or VB Script on Windows 2000 Server

    i'm trying to automatically replicate files from a win2k server to a win2k pro workstation, however i cannot use FRS automatticaly as the win2k server isnt an active directory controller, so i'm wondering wether or not a VB app or VB Scripting is able to tell if a file is in use / has a filelock on it, just so as a file still in progress of being copied wont be replicated until the file has finished being copied onto the server from a MAC workstation?

    any idea? suggestion? input?

    all & any warmly welcomed

    Thanx in advance
    What? Who? Where? How?

  2. #2
    Member
    Join Date
    Sep 2002
    Posts
    56
    How much experience do you have with VB?

  3. #3
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Originally posted by WattsTech
    How much experience do you have with VB?
    Could ask you the same question...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    India
    Posts
    2,288
    I am not sure, but trying to open the file in "Append" mode will raise an error if the file has been locked.
    But there may be an API call for this. You might try the API Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width