in reply to Downloading using FTP

Check out flock for more information on this. flock will try to lock a file. It will fail if it can't, meaning the file is in use or otherwise inaccessible.

-peter

Edit: As Abigail-II pointed out, this won't really help you over FTP. I should've read your question more thoroughly, but flock is a place to start.

Replies are listed 'Best First'.
Re: Downloading using FTP
by Abigail-II (Bishop) on May 10, 2004 at 09:07 UTC
    Check out flock for more information on this. flock will try to lock a file.
    Unfortunally, you can't lock a file over FTP. Technically, you can write an FTP server that flocks files, but that's done at the server side, not the client side.

    Abigail