in reply to How to obtain the size of a remote Winnt4 share
*EDITED to fix File::Find error...*
The two ways that leap to mind are:
- Iterate through the share with File::Find, using the -s test to grab each file's size (I found I had to use Math::BigInt on the size counter as well, your milage may vary.
- Use Win32::DirSize to do the job; it's easier but you lose a level of control, and I found it slow.
- Comment on Re: How to obtain the size of a remote Winnt4 share
Does that help? I can post sample code for both, but the docs on all these modules have good usage information.
----Asim, known to some as Woodrow.
|Replies are listed 'Best First'.|
Re: Re: How to obtain the size of a remote Winnt4 share
by zakb (Pilgrim) on Jun 18, 2003 at 12:05 UTC
by Asim (Hermit) on Jun 19, 2003 at 12:03 UTC
In Section Seekers of Perl Wisdom