How can I uncompress a tar.gz file in a remote server using FTP?
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How can I uncompress a tar.gz file in a remote server using FTP?
Hi everybody..
I have recently migrated to Linux (fortunately )and now I am using FC5. I used the FTP utility that comes with the terminal in order to upload a large site, I first compressed it using Tar an Gz so I could make it a single file, but now my problem is that I don't know how to unpack it back in the remote server, I've been reading some of the information available on FTP and apparently running Gunzip or Tar is fairly simple but when I try to run either one on the remote prompt the programme just say that the command doesn't exists. Could anyone advice me on how this can be done?
Without shell access to the remote server, you can't unpack it. If it is uploaded to your home directory, you at least have the right permissions to get in and untar it, assuming the web server is configured to show the contents of your home as a website. If the web server places the websites in the more "standard" location of /var/www or /var/www/html, you'll not only need shell access, but also root to untar in those directories.
The sever I mentioned is a commercial hosting running Unix and the only access I have is to the directory where I have my website hosted, so I guess I won't be able to untar anything there as you guys said and I will need different way to upload files.
Thanks for your advice, that made things clearer for me now, I would appreciate anyway if you could let me know what would be the best way to upload a large site to that directory, I have around 20 folders with more that 400 files that need to be put up.
Use a graphical FTP client. One of these GUI programs can recurse through the directory structure of the site on your local machine, and copy each and every file and also create the subdirectories for you. Depending on your connection speed it may take a while, but it will be as simple as selecting the root of the website on the local machine, and copying it to the root on the server, and the program will do all the work while you sit back and wait. I have gftp on my machines for jobs like this, and that is a standard program, so yum can install it for Fedora.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.