Revert "Revert "upload end""

This reverts commit 6f5765ae36b89b8b578ca0fc95fc6b72f9029c4a.