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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
/*****************************\
 *    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------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to