Bug #8135 Updated: FTP_FPUT can't use a HTTP Filepointer

From: Date: Tue, 17 Jul 2001 05:52:37 +0000
Subject: Bug #8135 Updated: FTP_FPUT can't use a HTTP Filepointer
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60133@lists.php.net to get a copy of this message
ID: 8135 Updated by: jason Reported By: nico@systemconcept.de Old Status: Assigned Status: Closed Bug Type: FTP related Operating System: Linux 7.0 PHP Version: 4.0.3pl1 Assigned To: jason@php.net New Comment: Feature added in CVS -Jason Previous Comments: ------------------------------------------------------------------------ [2001-07-09 12:37:31] jason@php.net Sorry nico, I misread the ticket, The problem is that the ftp extension hasn't been updated to support socket based file descriptors. I will take a look at a fix for this. -Jason ------------------------------------------------------------------------ [2001-07-08 18:46:32] sniper@php.net The idea here is to be able to read from the fopen()'ed stream and ftp_fput() the data.. not the other way around. (Jason, READ the bug reports before closing them, also RTFM) --Jani ------------------------------------------------------------------------ [2001-07-07 00:21:15] jason@php.net HTTP fopens are read only. -Jason ------------------------------------------------------------------------ [2000-12-06 10:43:07] nico@systemconcept.de for example : $fp = fopen("http://www.php.net", "r"); ftp_fput( $ftp_stream, "remote", $fp, FTP_ASCII); doesn't work. But the following code-example : $fp = fopen("file.txt", "r"); ftp_fput( $ftp_stream, "remote", $fp, FTP_ASCII); works. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=8135&edit=1

« previous php.dev (#60133) next »