version2.0 upload.cpp