Revert "Revert "large file transfer successfully""

This reverts commit 26a357bfb9d83da5ee4ca4efe051395600642513.