ID: 8135
Updated by: jason
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]