I have a Windows 7 host and an Ubuntu virtual machine; the VM has a bridged adapter.
I created a .tar file in Ubuntu using this command:
tar -cf name.tar /path/to/dir/
I have FileZilla FTP server running on my host, so I used the ftp command to send the file to my Windows machine. But I cannot open it in Windows; 7z reports
cannot open name.tar as archive
Then I tried copy the file using HTTP, which turned out fine. Why is the file currupted by FTP?