Get the filesize of the file Get the filesize of the same file 1 second later
If both of them are the same then it is complete, otherwise chack the filesize again... This should work T. > From: Oliver Hardt <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Thu, 21 Nov 2002 08:18:49 -0700 > To: [EMAIL PROTECTED] > Subject: ftp: how to prevent access to file currently being accessed? > > hello: i really have not much knowledge about how ftp works, so > forgive the question in case it was just too obvious. > problem: a file is kept on a ftp-server. this file is being > accessed by n clients, and all clients will modify the file and > upload it to the server. > question: how can i monitor from the client side whether the > file is currently being used by another client, so that the it is not > accessed until the currently accessing client finished uploading? > > thank you! best, oliver hardt. > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution