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

From: Date: Mon, 09 Jul 2001 15:39:46 +0000
Subject: Re: 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-59333@lists.php.net to get a copy of this message
Sorry, I was half of sleep that night. > 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) Exaclty what manual would you like me to read, Jani? -Jason > --Jani > > > Previous Comments: > ------------------------------------------------------------------------ > > [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. > > ------------------------------------------------------------------------ > > > > 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: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.dev (#59333) next »