ID: 10566 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Analyzed Bug Type: Filesystem function related PHP Version: 4.0.4pl1 Assigned To: Comments: I can reproduce this on Linux too. If file exists in ftp, you can not overwrite it or add to it. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-04-30 17:11:25] [EMAIL PROTECTED] this scrip don't work properly: (only the first time, that's ok) <? $file=fopen("ftp://usr:pass@localhost/administrador/servicios5.inc","w"); fputs($file,"Algo"); fclose($file); ?> this the warning: Warning: File already exists in generaservicios.inc on line 1 Warning: fopen("ftp://...@localhost/administrador/servicios5.inc","w") - File exists in generaservicios.inc on line 1 Warning: Supplied argument is not a valid File-Handle resource in generaservicios.inc on line 2 Warning: Supplied argument is not a valid File-Handle resource in generaservicios.inc on line 97 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10566&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]