Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

[PHP] Re: [PHP-GENERAL] ftp_put() problem From: Richard Lynch (richard <email protected>)
Date: 07/01/00

In article <B57E2B9B.3B9%anders <email protected>>, anders <email protected> (Anders
Hans=?ISO-8859-1?B?6Q==?=n) wrote:

> Good Morning ;)
>
> I am trying to use the ftp_put() command in order to upload a file to a
> remote server. But when I do I get a error message stating:
>
> Warning: ftp_put: metroflow.txt: Access is denied. in
> /home/anders/public_html/ftp_manager/index.php on line 18
>
> I've issued chmod 777 for the file as well as the entire directory. PHP is
> configured with FTP and safe_mode is off. The FTP-connection seems to be
> working fine, as I am able to list the contents on the remote server with
> PHP. And when using a ordinary FTP client I am able to upload the file to
> the server.

Does 'anonymous' have write access on the FTP server? Or do you mean you
did chmod 777 on the ftp server, as opposed to the local file?

I think the message is about the ftp server access, not the local file access.

-- 
Richard Lynch                | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA        | http://www.L-I-E.com/artists.htm
http://www.zend.com          | (this has nothing to do with Zend, duh!)

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>