Can’t extract tar file on Linux server

tar

In 7-zip file manager I created a tar file (with many subdirectories and files inside). I uploaded this file to the Debian server but can't extract:

tar -xvfz files.tar
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

I also tried tar -xvf userpics.tar but then happends just nothing.

Any ideas how to extract this file?

Best Answer

It is a tar file, not a .tar.gz

-z is for gzip

try:

tar xvf files.tar