Re: ftp_put() problem
| From: | (Richard Lynch) | Date: | Sat, 01 Jul 2000 22:13:46 +0000 |
| Subject: | Re: ftp_put() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-4308@lists.php.net to get a copy of this message | ||
In article <B57E2B9B.3B9%anders@infomaker.se>, anders@infomaker.se (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!)