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

From: Date: Sat, 07 Jul 2001 04:21:15 +0000
Subject: Bug #8135 Updated: FTP_FPUT can't use a HTTP Filepointer
Groups: php.dev 
Request: Send a blank email to php-dev+get-59131@lists.php.net to get a copy of this message
ID: 8135
Updated by: jason
Reported By: nico@systemconcept.de
Old-Status: Open
Status: Closed
Old-Bug Type: FTP related
Bug Type: *General Issues
Operating system: 
PHP Version: 4.0.3pl1
Assigned To: 
Comments:

HTTP fopens are read only.

-Jason

Previous Comments:
---------------------------------------------------------------------------

[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.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8135&edit=2



Thread (1 message)

  • jason@php.net
« previous php.dev (#59131) next »