I tried this, but get blank results.  Anyone know why?

I'm using:
<cfoutput query="myquery">
<cfdirectory action="LIST" directory="E:\newdoc" name="getsize"
filter="#filename#">
#getsize.size#<br>
#filename#
</cfoutput>

Where filename prints out, but the size doesn't.  Am I doing something
wrong?



*  -----Original Message-----
*  From: DeVoil, Nick [mailto:[EMAIL PROTECTED]]
*  Sent: Wednesday, August 23, 2000 12:13 PM
*  To: '[EMAIL PROTECTED]'
*  Subject: RE: Determine a file size
*  
*  
*  
*  > I'd like to determine the size of say a .pdf and present that
*  information on screen.  Is this possible in Cold Fusion?
*  
*  Pete,
*  Provided you don't have <CFDIRECTORY> disabled,
*  
*  <CFDIRECTORY ACTION="LIST" DIRECTORY="whatever_directory_name"
*  FILTER="whatever.pdf" NAME="query_name">
*  
*  should leave the size in #query_name.size#
*  Nick
*  
*  
*  *************************************************************
*  *********
*  Information in this email is confidential and may be privileged. 
*  It is intended for the addressee only. If you have received 
*  it in error,
*  please notify the sender immediately and delete it from your system. 
*  You should not otherwise copy it, retransmit it or use or 
*  disclose its
*  contents to anyone. 
*  Thank you for your co-operation.
*  *************************************************************
*  *********
*  -------------------------------------------------------------
*  -----------------
*  Archives: http://www.mail-archive.com/[email protected]/
*  To Unsubscribe visit 
*  http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lis
ts/cf_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to