Chunked upload file + other changes

Other changes is set $_errodCode before return false