Re: file deletions ....

From: Date: Wed, 28 Mar 2001 17:35:53 +0000
Subject: Re: file deletions ....
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45936@lists.php.net to get a copy of this message
Make sure that the PHP user (usually nobody) has the access to delete those files - I usually just do rm -fr /path/to/file.foo; and it works fine. --Joe On Wed, Mar 28, 2001 at 09:42:36AM +0100, Steve Brett wrote: > hi, > > i need to delete files in my web folder so i can 'tidy' them up. i have a > username and password that has ftp access and so far i've tried system(), > unlink() and setting up an ftp connection (they use php 4.03 whihc seems to > have ftp access closed). > > i have no problem listing the files i want to delete but seem unable to > delete them. > > can anyone help ? > > Steve > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net /*****************************\ * Joe Stump * * www.Care2.com * * Office: 650.328.0198 * * Extension: 122 * \*****************************/ www.miester.org -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$ N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@ 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)! ------END GEEK CODE BLOCK------

« previous php.general (#45936) next »