ID: 8135 Updated by: sniper Reported By: [EMAIL PROTECTED] Old Summary: FTP_FPUT can't use a HTTP Filepointer Old Status: Closed Status: Open Old Bug Type: *General Issues Bug Type: FTP related Operating System: Linux 7.0 PHP Version: 4.0.3pl1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2001-07-07 00:21:15] [EMAIL PROTECTED] HTTP fopens are read only. -Jason ------------------------------------------------------------------------ [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=1 -- 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]