Fix upload error in SunstoneServer