[nycphp-talk] Deleting/overwriting a remote file
Fan, Wellington
wfan at VillageVoice.com
Wed Dec 1 12:20:14 EST 2004
Hello Listies,
I am running PHP 4.3.4, and allow_url_fopen "ON"
I can use fopen( 'ftp://FILE', 'w' ) to create & write a file. I cannot
however overwrite the file if it exists.
I recieve this warning:
Warning: fopen(ftp://FILE): failed to open stream: FTP server reports
213....
213 appears to be a FTP success code -- "File Status", so it doesn't seem
like any help there. I do *NOT* have the FTP functions enabled, nor is that
an option right now.
I have tried to unlink() the file beforehand, with no success -- the docs
say that's PHP 5.0.0 and later anyway.
Suggestions?
--
Wellington
More information about the talk
mailing list