PHP 4.0 Bug #7121: fopen() doesn't owerwrite files opened via a FTP connection

From: Date: Tue, 10 Oct 2000 15:41:31 +0000
Subject: PHP 4.0 Bug #7121: fopen() doesn't owerwrite files opened via a FTP connection
Groups: php.dev 
Request: Send a blank email to php-dev+get-34602@lists.php.net to get a copy of this message
From: mums@mums.cx Operating system: Linux PHP version: 4.0.2 PHP Bug Type: *Function Specific Bug description: fopen() doesn't owerwrite files opened via a FTP connection I think it would be useful if one could owerwrite files also in FTP file mode. For an example, this won't work if the file already exists: <?php $fp = fopen('ftp://test:test@localhost/home/test/testfil.bin', 'w+'); fwrite($fp, 'test'); fclose($fp); ?> -- Edit Bug report at: http://bugs.php.net/?id=7121&edit=1

« previous php.dev (#34602) next »