Untar after uploading to linux from windows

Posted by Miqdad Ali on Super User See other posts from Super User or by Miqdad Ali
Published on 2014-06-11T04:01:19Z Indexed on 2014/08/21 16:23 UTC
Read the original article Hit count: 368

Filed under:
|
|
|

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

© Super User or respective owner

Related posts about linux

Related posts about tar