version 4:add function:check whether the file to be uploaded has existed
in the server