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

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;
}