Re: stat (): stat failed for ftp://...
| From: | Juergen Edner | Date: | Tue, 14 Jan 2014 18:20:59 +0000 |
| Subject: | Re: stat (): stat failed for ftp://... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322695@lists.php.net to get a copy of this message | ||
Hello Christoph Michael,
>> The program always returns a "Warning: stat(): stat failed for
>> ftp://user:pass@ftp-server/path/filename" message.
>>
>> If I use the functions "ftp_connect - ftp_login - ftp_size - ftp_close"
>> these kind of failure doesn't appear and I'm able to access the
>> FTP server and the stored files.
>> ...
>> Does anyone have an idea how I could isolate the cause of the problem?
>
> Did you have a look at
> <http://php.net/manual/en/wrappers.ftp.php>?
yes, I read that information. I tried to set the connection to passive
mode in advance but it doesn't influence the result of a failing stat()
function.
Regards
Juergen