🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4844

Q: How to tell if a file is done?

#4844
From: Arun Jamwal
Date: Thu, 29 Feb 1996 02:07
20 lines
995 bytes
Hi there,

I have a remote process on system A transferring file, say FILEA.
Another processes on system B wants to read file FILEA as
soon as the WHOLE file has been transfered. 

I know one can tell process B the size of the file FILEA before the
transfer and then process B does a fstat to check the size....but 
is there any other way?

For instance, is there a way to tell if there are no descriptors
associated with a file?

Any suggestions are welcome! And thanks in advance.

Sincerely,

Jamwal

Email: jamwal@quality.com
Technical Details
Message-ID: <31350A44.41C6@quality.com>
Path: arc1-ca.pugleaf.net!news.aimnet.com!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.aimnet.com!news
From: Arun Jamwal <jamwal@quality.com>
Newsgroups: comp.std.c
Subject: Q: How to tell if a file is done?
Date: Wed, 28 Feb 1996 18:07:00 -0800
Organization: Quality Consulting Services, Santa Clara, CA
Message-ID: <31350A44.41C6@quality.com>
NNTP-Posting-Host: quality.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (X11; I; AIX 2)