[PHP] Re: How do I use fopen() to overwrite a remote file via ftp?

2002-04-08 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dalton Hunter) wrote: Hi, I want to use fopen to connect to a remote server via ftp and overwrite a file like ... fopen(ftp://username:[EMAIL PROTECTED]/system/path/to/file.php;, w) ... but after connecting I get the Warning: File already

[PHP] Re: How do I use fopen() to overwrite a remote file via ftp?

2002-04-08 Thread Dalton Hunter
Hi, the manual page for fopen indicates one can use it with ftp ... You can open files for either reading or writing via ftp ... Just trying to figure out how one can properly overwrite files with fopen via ftp, if at all, as I don't want to have to recompile PHP with the FTP functions and use