Try this...

<cfdirectory action="LIST"
directory="#getdirectoryfrompath(cgi.PATH_TRANSLATED)#" filter="test.txt"
name="myfilelist">

<cfdump var="#myfilelist#">

Of course, you may have to change cgi.path_translated to where your file is
and change the filter.

Dave


-----Original Message-----
From: Park, Simon [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 9:51 AM
To: CF-Talk
Subject: Obtaining file size in Linux and returning to CF


Is there a way to obtain the size of a file on a Linux server and return it
to CF?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Simon Park              Computer Systems Management, Inc.
Ph: 703-823-4300 x119   205 South Whiting Street #201
fax: 703-823-4301       Alexandria, VA  22304
             http://www.csmi.com

______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to