call "fpimport" (file is always locked)
John Esak
john at valar.com
Sat Apr 16 19:57:07 PDT 2005
Ken,
Does the below imply that I was right, a generic CLOSE will NOT close the
open import... and that he (we) have to a handle specific CLOSE to get the
job done on import files?
John
> -----Original Message-----
> From: filepro-list-bounces at lists.celestial.com
> [mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Kenneth
> Brody
> Sent: Saturday, April 16, 2005 7:39 PM
> To: Mike Fedko
> Cc: filePro Mailing List
> Subject: Re: call "fpimport" (file is always locked)
>
>
> Quoting Mike Fedko (Wed, 13 Apr 2005 14:51:05 -0400):
>
> > I am running a process using the SLEEP along with EXISTS commands to see
> > if there is a file to be imported. If the file exists, I use CALL to run
> > the import process. At the end of the actual import processing, I try to
> > delete the .txt document, that was imported. At this point, the .txt
> > file is always locked. I also tried to delete it after returning to the
> > sleep processing, but it was still locked. I don't want to exit out of
> > the process with the SLEEP command, but I need to delete the file once
> > it has been imported. What am I missing?
>
> Windows won't let you delete a file is anyone has it open. (I assume
> that this is a Windows system.) Simply CLOSE the import before you
> delete the file.
>
> --
> KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list