Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Attributes - File Sizes...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00336698
Message ID:
00336700
Vues:
18
>VFP 6.0 Is there a way to programmatically determine the size of a particular file on a drive. My users are constantly adding new .bmp files to the system via a VFP interface. These files should be no larger than 300k. Unfortunately, each day I run across files in excess of 3mg (FILES NOT FORMATTED CORRECTLY, USER ERROR). I want to prompt the user with an error message if the files are too large. Any ideas...
>
>TIA
>
Hi Rob,

Look at the ADIR() function. It will return the size of the file in bytes (among other things).
George

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

Click here to load this message in the networking platform