exec('du'); through ftp using PHP

From: Date: Mon, 21 Apr 2003 02:27:58 +0000
Subject: exec('du'); through ftp using PHP
Groups: php.general 
Request: Send a blank email to php-general+get-144589@lists.php.net to get a copy of this message
Hello php-general, I ran into a little problem. Is there a way or maybe someone did it, to check how mutch space is user using in his folder? what i mean is, to connect to ftp server using socket(or....) and execute some command that shows directories size. is there a way to do that? or no? thanks for help! P.S I tried to execute shell command but i nead READ permission from www user and that makes every ftp user to read everyones directories, thats kinda bug for lots of scripts who store passwords. Thanks! -- Best regards, Mantas mailto:Mantuks@attbi.com

« previous php.general (#144589) next »