Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does FSIZE() work?
Message
 
To
07/02/2002 16:52:19
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00616888
Message ID:
00617260
Views:
32
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform