RE: [PHP] fopen() for ftp
| From: | Boget, Chris | Date: | Fri, 08 Sep 2000 16:02:34 +0000 |
| Subject: | RE: [PHP] fopen() for ftp | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15900@lists.php.net to get a copy of this message | ||
> > $fh = fopen(
>
> "ftp://user:pass@my.server.com/newsedge_files/newsedge_09-07-2
> 000.zip",
> > "r"
> > );
> > Am I doing something wrong? Why is it coming back so quickly
> > saying the file wasn't found?
> > Any help would be appreciated!!
> I would go and see what the client is seeing. Instead of
> trying to get the file, just try and get a directory listing
> of my.server.com/; if that works, try for /newsedge_files.
Tried that and it doesn't work either.
Also, the error comes back *immediately* as if it isn't even
trying to connect to ftp...
Chris