PHP 4.0 Bug #8135 Updated: FTP_FPUT can't use a HTTP Filepointer
| From: | sniper@php.net | Date: | Thu, 01 Feb 2001 15:23:52 +0000 |
| Subject: | PHP 4.0 Bug #8135 Updated: FTP_FPUT can't use a HTTP Filepointer | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45525@lists.php.net to get a copy of this message | ||
ID: 8135
Updated by: sniper
Reported By: nico@systemconcept.de
Status: Open
Old-Bug Type: Filesystem function related
Bug Type: FTP related
Assigned To:
Comments:
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8135