Linux
--
Questions
--
Followers
Top Experts
Converting a .gz or .tar file
I need help converting TAR and GZ files. I am using Windows. I need to upload the .TAR and GZ files via FTP to my host.
1) Do I uncompress the files before uploading to my host?
How do I uncompress .TAR or .GZ files using a windows machine?
2) Is it possible to uncompress a .TAR or .GZ file using FTP if I dont have a shell account, rather only ftp access?
Basically, I have a host account with FTP access. The host is linux. My home computer is Windows. I need to transfer a couple of .GZ and .TAR files that contain important material for a website. So my question is how do I open the compressed files?
P.S. --> I know how to convert a .gz file or .tar file on linux using a shell account, so thats not the question cause my home computer is Windows and my access to the host is only via basic ftp.
1) Do I uncompress the files before uploading to my host?
How do I uncompress .TAR or .GZ files using a windows machine?
2) Is it possible to uncompress a .TAR or .GZ file using FTP if I dont have a shell account, rather only ftp access?
Basically, I have a host account with FTP access. The host is linux. My home computer is Windows. I need to transfer a couple of .GZ and .TAR files that contain important material for a website. So my question is how do I open the compressed files?
P.S. --> I know how to convert a .gz file or .tar file on linux using a shell account, so thats not the question cause my home computer is Windows and my access to the host is only via basic ftp.
Zero AI Policy
We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.
WinRAR (http://www.rarlab.com/) can do this and there are other windows tools that you can find with a web search. You'll unpack the archive on your windows machine and upload the files. A possible flaw with this approach is that you will loose owner persmission information in the process. Depending on what's in the tar archive that may or may not matter.
With only FTP access there's no way to upload the archives and then extract the information on the remote. For that you must have shell access or the assistance of a Linux admin.
With only FTP access there's no way to upload the archives and then extract the information on the remote. For that you must have shell access or the assistance of a Linux admin.
Winzip should also be able to extract files from tar and gz files. Another solution is installing cygwin on your windows machine which would give you access to the commandline tar an gunzip tools that you are used to on your shwll account. Using cygwin will also allow you to keep the uid and gid info in these files.
Hi,
You can also gzip for Windows.
http://www.gzip.org/gzip124xN.exe
However, cygwin as tnowaczy suggestion is highly recommended. In cygwin shell, you can do
the same thing as you do in Linux shell. Such as
tar zxf *.tgz, tar zxf *.tar.gz....
You might want to check it out:
http://www.cygwin.com/
Regards,
Wesly
You can also gzip for Windows.
http://www.gzip.org/gzip124xN.exe
However, cygwin as tnowaczy suggestion is highly recommended. In cygwin shell, you can do
the same thing as you do in Linux shell. Such as
tar zxf *.tgz, tar zxf *.tar.gz....
You might want to check it out:
http://www.cygwin.com/
Regards,
Wesly






EARN REWARDS FOR ASKING, ANSWERING, AND MORE.
Earn free swag for participating on the platform.
ASKER CERTIFIED SOLUTION
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
7-Zip works fine and it is free. No, you don't need to unpack the file before downloading.
Linux
--
Questions
--
Followers
Top Experts
Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.