🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #8661

File IO

#8661
From: Keith Underwood
Date: Fri, 28 Jul 2000 00:00
12 lines
1469 bytes
We use a Job Control System that has 'File Events'.  Meaning that I can
tell the JCS to monitor a directory for an incoming file.  When it
detects a file, the JCS kicks off a process that does whatever we need
to the file.  The problem is,  I don't want to start processing on the
file until the file is completely been written to.  Some of these files
are 100-200mg, and the JCS will detect them once they start to arrive.
Does Java have a class that will check to see if the file is still being
written to, and if so then sleep and check again, and again until the
file is complete, and then the JCS can start the processing on the
file.  I can do this in Unix but I need to do it in NT.

Keithu
Technical Details
Message-ID: <39817EDD.7D06243@gte.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,24f2b3b9f7b3f88e,start
X-Google-Attributes: gid111d45,public
From: Keith Underwood <keithu@gte.net>
Subject: File IO
Date: 2000/07/28
Message-ID: <39817EDD.7D06243@gte.net>
X-Deja-AN: 651792076
Distribution: world
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@gte.net
X-Trace: /wmC6Fz5bIc8PpZflrwPOaQ4a59nvFDQVTdxkQO5v/LhhBPmIQH/LwJtCOEF6gFnwQmH5owe1NZD!FMWb4qHUDwCviiyMiKwWW66MzrbWbmSFREtcRe9jRPG6GWZWF4gbqFvw
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 28 Jul 2000 12:42:21 GMT
Newsgroups: borland.public.jbuilder.java.swing