Whitespace and formatting changes.(Aesthetic only) This commit makes lots of whitespace only changes. It has been ensured that this commit does not make any changes to the functioning of the program. The only changes that have been made are: * Remove trailing whitespaces * Convert tabs to spaces * Fix indentation issues in the code * Other aesthetic changes to the formatting of comments
More progress bar aesthetic changes This commit introduces two new changes to how the progress bar looks: 1. Support the --progress=bar:noscroll option which will prevent the filename from scrolling in the progress bar 2. Print human readable value for the amount already downloaded for any file
Fix compiler warnings
Add --show-progress to force display progress bar This is a relatively large commit that implements two major features: 1. Implement --show-progress switch to force the display of the progress bar in any verbosity level 2. Edit the implementation of the progress bar so that the filename is displayed in the same line.
Tests: fix TYPE and RETR command handling. - FTPServer.pm's handling of TYPE command would ignore binary mode transfer request. - The FTP server would run into dead loop sending the same content forever. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>