If you've got a JRE installed on CF, then you can just use java.io.File to
do it.  Have to double check, I think this is the right syntax:

File = createObject("java", "java.io.File");
File.init(path_to_file);
fileSize = File.length();

Cheers,
barneyb

> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Friday, May 21, 2004 4:18 PM
> To: CF-Talk
> Subject: Get File Info
>
> Is there a CFX tag (has to work on CF 5) that can take a file
> name and return it's physical size? CFDIRECTORY can be used,
> but it's slow on large directories.
> I know the tag exists, but can't remember at the moment.
> Thanks
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to