diff options
author | Sara Golemon <pollita@php.net> | 2004-05-17 20:31:59 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2004-05-17 20:31:59 +0000 |
commit | cceecdbcdbb24ef85ec64fd5c2524220d3b160e5 (patch) | |
tree | 734b76d0f5cf87bd294fde1106b4524661d4e0d4 /ext/standard/ftp_fopen_wrapper.c | |
parent | 427561446fe3b43619d53590da27f9ca9e8d0830 (diff) | |
download | php-git-cceecdbcdbb24ef85ec64fd5c2524220d3b160e5.tar.gz |
BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option.
Diffstat (limited to 'ext/standard/ftp_fopen_wrapper.c')
-rw-r--r-- | ext/standard/ftp_fopen_wrapper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/ftp_fopen_wrapper.c b/ext/standard/ftp_fopen_wrapper.c index 3032550654..15e6c64385 100644 --- a/ext/standard/ftp_fopen_wrapper.c +++ b/ext/standard/ftp_fopen_wrapper.c @@ -457,6 +457,7 @@ php_stream * php_stream_url_wrap_ftp(php_stream_wrapper *wrapper, char *path, ch goto errexit; } } else { + php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "Remote file already exists and overwrite context option not specified."); errno = EEXIST; goto errexit; } |