Implemented chunked upload with progress.