php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3303 fopen("ftp://... to VAX ftp server
Submitted: 2000-01-24 14:53 UTC Modified: 2002-10-02 00:49 UTC
From: len at padilla dot net Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.14 OS: Linux 2.2.14
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: len at padilla dot net
New email:
PHP Version: OS:

 

 [2000-01-24 14:53 UTC] len at padilla dot net
$file = fopen('ftp://user:pass@vax/DIR$NAME:filename','r');

./configure \
	--with-apache=../apache_1.3.9 \
	--with-mysql=/usr/local/mysql \
	--with-ftp \
	--enable-track-vars

No php3.ini.

Pasting the first arg (ftp://user:pass@vax/DIR$NAME:filename) into Netscape's location box works fine. fopen('ftp.....) works fine with other (Linux, DigitalUnix, AIX, FreeBSD) machines.

Retrieving the file with the new ftp_* php functions works, but I want the retrieved contents shoved into a var, not a file.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 11:47 UTC] hholzgra@php.net
We are sorry, but can not support PHP 3 related problems anymore.  Momentum is
gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of
resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will
will continue to be supported for the forseeable future.

in the upcoming  php 4.3 the fopen wrappers for http and ftp are using the cURL lib if available, which is far more feature-complete than our own ftp- and http- implementations could ever be ... chances are high that it will work with that (if you are still interested)
 [2002-10-01 21:50 UTC] wez@php.net
Additional: curl streams won't be in 4.3.0, but in a subsequent release (we're waiting on a couple of extra hooks in libcurl).
 [2002-10-02 00:49 UTC] len at padilla dot net
Better late than never I guess. This bug report was from 2 years ago...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 10:01:30 2024 UTC