Have you tried the stat function.
 
regards,
 
John
-----Original Message-----
From: Giarrocco, Camillo [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 2:07 AM
To: [EMAIL PROTECTED] ActiveState. com; [EMAIL PROTECTED] ActiveState. com
Subject: How can I check the size of a file

Hi,

 

Can anybody tell me how can I check the size of a file?

 

I know the “if  (-s “file”) function but never used and don’t know the right syntax of it.

 

Thanks..

Camillo

 

 

DISCLAIMER:
This communication is confidential and may be legally privileged. If you are not the intended recipient, (i) please do not read or disclose to others, (ii) please notify the sender by reply mail, and (iii) please delete this communication from your system. Failure to follow this process may be unlawful. Thank you for your cooperation.

Reply via email to