Hello, It is "Apache/2.0.44 (Unix) DAV/2 mod_webapp/1.2.0-dev".
Just uploading the file is not good enough since then different server machines can do the upload in parallel. Moreover a client machine can fetch the file while a [slow] server machine is currently doing the upload. This leads into a corrupted file. Thx, Bernd > -----Original Message----- > From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 07, 2004 3:47 PM > To: Slide Users Mailing List > Subject: Re: WebDav LOCK and MOVE question > > What is the WebDAV server you are programming to? Slide? If so, just > upload the file. > > Oliver > > On Tue, 7 Dec 2004 15:11:42 +0100, Bernd Kühl <[EMAIL PROTECTED]> > wrote: > > Hello, > > > > I want to upload a file to a web server. Several machines maybe try in > parallel to upload the same file. Therefore locking is needed to allow > only one upload. Moreover I have to ensure that no other machine downloads > the file before the complete upload is done. So the algorithm I have in > mind goes like this: > > > > 0) Check whether the file already exists on the file server. If yes => > done > > 1) Lock non existing temporary file. > > 2) Upload the bytes to the locked temporary file. > > 3) Move the temporary file to the destination name. > > 4) Unlock the lock. > > > > Unfortunately it seems that I'm to dump and/or have not enough knowledge > about WebDay and the slide WebDav client library to implement the > algorithm. Who is able to help me? > > > > Thx! > > > > Bernd > > > > -- > > Bernd Wellhöfer VerdiSoft GmbH > > Phone: +49 40 280054-24 Süderstraße 77 > > Fax: +49 40 280054-50 20097 Hamburg > > Email: [EMAIL PROTECTED] Germany > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]