ftp_get() problem
| From: | Phil Curry | Date: | Fri, 22 Jun 2007 17:10:28 +0000 |
| Subject: | ftp_get() problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-257660@lists.php.net to get a copy of this message | ||
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:
$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 opening iPhoneRingTone.mp3 in /Users/b1ueskyz/Sites/pmcRoutines.php on line 91Using 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