Untar after uploading to linux from windows
- by Miqdad Ali
I have created tar.gz from my linux server, and I downloaded the same to my linux system and I successfully doen untar with tar -xvf package.tar.gz.
And now my issue
I downloaded same package.tar.gz to the windows system then uploaded to another linux server, and tried same command tar -xvf package.tar.gz. but it getting
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
as response. I also tried filezill manual trnasfer with binary mode.
How can I do the same ?
Update
When I directly download to the linux system its working fine.
When I downloaded to the windows system and try to extract with 7zip or winrar error is getting
When I download to windows and upload to linux same error getting