Information générale
Catégorie:
Codage, syntaxe et commandes
You can also use the ADIR() function. One of the columns in the array that it creates stores the file size.
>I am writing an application that creates QuickBooks Imports files for multiple companies on a daily basis. I want to eliminate the need for the user to manage these files. (Visual AccountMate has a 'Delete Import File' feature which is nice). I want to do this like this...
>
>copy file \source\filename.iif to \destination\filename.iif
>
>* verify that the file is copied in full by comparing the file size of the original and copied files
>
>if filesize_is_the_same
> erase \source\filename.iif
>endif
>
>I can't find a function that returns the filesize of a specified file. Is there on that I'm not seeing, or do I need to find another way to do this.
>
>Thanks for any suggestions,
>Larry Morelli
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement