[PHP-DEV] PHP 4.0 Bug #8135: FTP_FPUT can't use a HTTP Filepointer From: nico <email protected>
Date: 12/06/00

From: nico <email protected>
Operating system: Linux 7.0
PHP version: 4.0.3pl1
PHP Bug Type: Filesystem function related
Bug description: FTP_FPUT can't use a HTTP Filepointer

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.

-- 
Edit Bug report at: http://bugs.php.net/?id=8135&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>