R resellerlogic Established Member ★ 20 ★ Impact 7 Sep 4, 2006 952 views 7 replies #1 Is there a way to extract a .tar.gz file via ftp?
E ebetz Established Member ★ 15 ★ Impact 0 Sep 4, 2006 #2 Why not using SSH?or your web comtrol panel.
James-A Account Closed Impact 1 Sep 4, 2006 #3 Yep, that's right SSH or control panel is the only option to extract a .tar.gz file you can't use FTP for this purpose.
Yep, that's right SSH or control panel is the only option to extract a .tar.gz file you can't use FTP for this purpose.
R resellerlogic Established Member ★ 20 ★ Impact 7 Sep 4, 2006 #4 How would you do it via the control panel?
James-A Account Closed Impact 1 Sep 5, 2006 #5 Control panel (cpanel) => File Manger => public_html => File name => Select option extract file.
NuPagady Established Member ★ 20 ★ Impact 2 Sep 5, 2006 #6 There's also another way. Make a php script: Code: <? system("tar -zxvf [b]yourfile.tar.gz[/b]"); ?> And run it. It will extract your .tar.gz (unless your host has dissabled system() command in php configuration).
There's also another way. Make a php script: Code: <? system("tar -zxvf [b]yourfile.tar.gz[/b]"); ?> And run it. It will extract your .tar.gz (unless your host has dissabled system() command in php configuration).
G gauravmm Established Member ★ 20 ★ Impact 1 Sep 10, 2006 #7 If your host has disaabled system, you can use the zlib library and extract your file using a php script.
If your host has disaabled system, you can use the zlib library and extract your file using a php script.