call "fpimport" (file is always locked) logtext locked
Mike Fedko
filepro at adelphia.net
Wed Apr 13 21:57:19 PDT 2005
----- Original Message -----
From: "John Esak" <john at valar.com>
To: "Fplist (E-mail)" <filepro-list at seaslug.org>
Sent: Saturday, April 16, 2005 10:57 PM
Subject: RE: call "fpimport" (file is always locked)
> 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
>
I closed the alais for the import. That unlocked the file to be deleted, BUT
Guess what, I also am logging what was imported using LOGTEXT. Now that file
is locked and it has no alias to close it ???
Mike Fedko
> > -----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
>
> _______________________________________________
> 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