Using the CLI (or the lib), I get corrupted files when trying to retrieve them (using RETR).
Steps to reproduce
I tried to get the same file using the suppaftp-cli and the GNU ftp client.
The GNU ftp client correctly retrieves the file as it is the same file size as the original one. I can run the command gunzip -d ftp.csv.gz without an issue.
When I try to do the same with suppaftp, gunzip tells me that the file is corrupted.
❯ ls -l ftp.csv.gz suppa.csv.gz
-rw-r--r-- 1 matthew_deville matthew_deville 11509311 Nov 10 11:44 ftp.csv.gz
-rw-r--r-- 1 matthew_deville matthew_deville 11552314 Nov 10 11:34 suppa.csv.gz
Expected behaviour
The file retrieved should be identical to the original one.
Description
Using the CLI (or the lib), I get corrupted files when trying to retrieve them (using RETR).
Steps to reproduce
I tried to get the same file using the
suppaftp-cli
and theGNU ftp
client. The GNU ftp client correctly retrieves the file as it is the same file size as the original one. I can run the commandgunzip -d ftp.csv.gz
without an issue. When I try to do the same with suppaftp,gunzip
tells me that the file is corrupted.Expected behaviour
The file retrieved should be identical to the original one.
Environment