Bug #16505 Updated: fopen does not overwrite files opened via FTP ...

From: Date: Tue, 09 Apr 2002 17:59:44 +0000
Subject: Bug #16505 Updated: fopen does not overwrite files opened via FTP ...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4457@lists.php.net to get a copy of this message
ID: 16505 Updated by: daltonhunter@iname.com Reported By: daltonhunter@iname.com -Status: Duplicate +Status: Closed Bug Type: FTP related Operating System: Redhat 6.2 PHP Version: 4.1.1 New Comment: Sorry, missed that note. Maybe this could be added to the fopen manual page. Previous Comments: ------------------------------------------------------------------------ [2002-04-09 05:01:36] wez@php.net As an additional note, I'd suggest using the ftp extension if you need more control over ftp resources. ------------------------------------------------------------------------ [2002-04-09 04:55:14] wez@php.net This is intended behaviour. Read the section of the manual entitled: Features: Using Remote Files. ------------------------------------------------------------------------ [2002-04-09 04:13:40] sander@php.net Dupe of #????? ------------------------------------------------------------------------ [2002-04-09 03:17:44] daltonhunter@iname.com If I try to use fopen to overwrite a file via FTP ... fopen("ftp://username:password@www.domain.com/system/path/to/file.txt", "w") ... I get a "Warning: File already exists" error and it fails. Is'nt it supposed to overwrite it? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16505&edit=1

« previous php.bugs (#4457) next »