Re: ftp_get() problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/22/07, Phil Curry <pmcurry@xxxxxxxxx> 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:

     $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 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

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux