From cceecdbcdbb24ef85ec64fd5c2524220d3b160e5 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Mon, 17 May 2004 20:31:59 +0000 Subject: [PATCH] BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option. --- ext/standard/ftp_fopen_wrapper.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.50.1