1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00

BugFix# 27982: Provide error message when trying to overwrite an existant file without overwrite context option.

This commit is contained in:
Sara Golemon
2004-05-17 20:31:59 +00:00
parent 427561446f
commit cceecdbcdb
+1
View File
@@ -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;
}