🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4853

Re: Q: How to tell if a file is done?

#4853
From: Art Shelest
Date: Fri, 01 Mar 1996 20:03
16 lines
990 bytes
In article <31350A44.41C6@quality.com>,
   Arun Jamwal <jamwal@quality.com> wrote:
>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?
>
If you can tell process B the file size, do so _after_ transferring the 
file -- this will be indication that file is transferred.

    _Art.
Technical Details
Message-ID: <4h7lc6$avi@Milpitas01.Pop.Internex.NET>
Path: arc1-ca.pugleaf.net!Milpitas01.pop.internex.net!usenet
References: <31350A44.41C6@quality.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!Milpitas01.pop.internex.net!usenet
From: Artyom@kansmen.com (Art Shelest)
Newsgroups: comp.std.c
Subject: Re: Q: How to tell if a file is done?
Date: Fri, 01 Mar 96 20:03:53 GMT
Organization: Kansmen Corp.
Message-ID: <4h7lc6$avi@Milpitas01.Pop.Internex.NET>
References: <31350A44.41C6@quality.com>
NNTP-Posting-Host: 205.158.201.203
X-Newsreader: News Xpress Version 1.0 Beta #4