Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does FSIZE() work?
Message
 
À
07/02/2002 16:52:19
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616888
Message ID:
00617260
Vues:
33
>It has been done in this manner. Question: Will using FSIZE cause an increase in network traffic?

Calvin,

I doubt that FSIZE() would cause any noticable difference. If I were to hazard a guess, it's simply making an API call to GetFileSize() and that requires getting a file handle, making the call, and closing the handle. It's probably less than using something like ADIR(), which returns significantly more data.

Using the calculation would probably result in less network traffic because it's based on functions that utilitize information in the header of the table and, therefore, wouldn't require additional trips across the wire. Whether or not the difference is of any significance would depend on external factors. My hunch is that it probably wouldn't be significant, but only you can determine that for certain.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform