🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #523

Reading from a file

#523
From: Oliver Young
Date: Fri, 01 Aug 2003 07:39
6 lines
1216 bytes
    I have one app that runs 24h per day, checking one folder every 30 sec.
It should import into DB file that user can copy into one folder. The
problem is that file might be even 30 MB long, so my app would start reading
from file before whole file was written into destination folder. Is there
some workaround (to check if whole file was written)?
Technical Details
Message-ID: <3f2a1901$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,9b905ec90ba73073,start
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2003-08-01 00:41:37 PST
From: "Oliver Young" <no@spam.please>
Newsgroups: borland.public.jbuilder.java.api
Subject: Reading from a file
Date: Fri, 1 Aug 2003 09:39:05 +0200
Lines: 8
Organization: None
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 193.138.1.66
Message-ID: <3f2a1901$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059723521 193.138.1.66 (1 Aug 2003 00:38:41 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail