PHP 4.0 Bug #7121 Updated: fopen() doesn't owerwrite files opened via a FTP connection
| From: | sniper@php.net | Date: | Tue, 17 Oct 2000 16:49:23 +0000 |
| Subject: | PHP 4.0 Bug #7121 Updated: fopen() doesn't owerwrite files opened via a FTP connection | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35285@lists.php.net to get a copy of this message | ||
ID: 7121
Updated by: sniper
Reported By: mums@mums.cx
Status: Open
Bug Type: Feature/Change Request
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-10-10 11:41:31] mums@mums.cx
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);
?>
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7121