call "fpimport" (file is always locked)
Fairlight
fairlite at fairlite.com
Sat Apr 16 12:06:22 PDT 2005
At Wed, Apr 13, 2005 at 02:51:05PM -0400 or thereabouts, suspect Mike Fedko
was observed uttering:
> 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?
Which OS?
If *nix, then file ownership might be an issue.
In general, are you doing a CLOSE on the import handle before you try to
remove it? You should be, although this is far more likely to be an issue
only on Windows.
mark->
--
***** Fairlight Consulting's Software Solutions *****
OneGate Universal CGI Gateway: http://onegate.fairlite.com/
FairPay PayPal Integration Kit: http://fairpay.fairlite.com/
RawQuery B2B HTTP[S] Client & CGI Debugger: http://rawquery.fairlite.com/
Lightmail Mail Sending Agent: http://lightmail.fairlite.com/
FairView Image Viewer for Integration: http://fairview.fairlite.com/
More information about the Filepro-list
mailing list