Re: ftp_get() problem
| From: | Tijnema | Date: | Fri, 22 Jun 2007 17:19:46 +0000 |
| Subject: | Re: ftp_get() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257662@lists.php.net to get a copy of this message | ||
On 6/22/07, Phil Curry <pmcurry@gmail.com> wrote:
New to php and this list. Googled a lot and scoured newsgroups to no avail. So now I'm here looking for an answer. Here's my offending line:When you go to this server with some FTP software (or just your browser), and log in etc. Can you download the file then? Seems like a permission problem to me... Tijnema -- Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info$gotFile = ftp_get( $connection, $destination, $source,FTP_BINARY ); Just prior to execution all parameters have valid values. The following error is reported:Warning: ftp_get() [function.ftp-get]: Error openingiPhoneRingTone.mp3 in /Users/b1ueskyz/Sites/pmcRoutines.php on line 91 Using the same parameters I am able to successfully ftp_put(), ftp_rename(), and ftp_delete()the file. I just can't 'get' it. Any help or direction is greatly appreciated. -Phil Curry