Re: check if a file is OPEN status before uploading

2007-01-26 Thread AQureshi
Dave Newton <[EMAIL PROTECTED]> wrote on 01/26/2007 03:03:19 PM: > --- Vinod Kumar <[EMAIL PROTECTED]> wrote: > > [...] before uploading, I want to make sure that > file > > is not in open state. > > I know of no way you can do this, although there may > be some Javascript treachery. Your code i

Re: check if a file is OPEN status before uploading

2007-01-26 Thread Dave Newton
--- Vinod Kumar <[EMAIL PROTECTED]> wrote: > [...] before uploading, I want to make sure that file > is not in open state. I know of no way you can do this, although there may be some Javascript treachery. Your code is not being executed on the client; it does not have access to file system stati

check if a file is OPEN status before uploading

2007-01-26 Thread Vinod Kumar
Hi, I am uploading a file using struts (using FormFile) but before uploading, I want to make sure that file is not in open state. If so, I want to display message to the user to close the file and then try to upload. I am able to upload the file. Just wondering , how can i check if the file is ope