Re: Re: stat (): stat failed for ftp://...
| From: | Aziz Saleh | Date: | Tue, 14 Jan 2014 18:27:27 +0000 |
| Subject: | Re: Re: stat (): stat failed for ftp://... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322696@lists.php.net to get a copy of this message | ||
On Tue, Jan 14, 2014 at 1:20 PM, Juergen Edner <juergen@eisfair.org> wrote:
> 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
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> What php versions have you tried? Which versions did it work on and which
didn't?