Re: ftp conection..

From: Date: Mon, 31 Jul 2000 19:58:00 +0000
Subject: Re: ftp conection..
Groups: php.general 
Request: Send a blank email to php-general+get-9258@lists.php.net to get a copy of this message
> I tried using fopen to connect using something like > ftp://username:pass@some.ip/some/dir/ but that > gave me a > ("ftp://...@200.27.198.16/suma/noticias/","r") - > No such file or > directory error. > I figured it was due the username:pass which might me confusing php3. > I copied and pasted the URL from netscape, to ensure that the URL is > correct. I think that what you're seeing is that PHP won't automatically generate a directory listing if the URL used specifies a directory instead of a file. I assume you don't know the full URLs for each file you need, so you'll want to look at http://www.php.net/manual/ref.ftp.php. Chris

« previous php.general (#9258) next »