mme Posted May 1, 2008 Share Posted May 1, 2008 Hi My hosts control panel doesnt have an option to extract files. Is there a php script that can extract .tar.bz2 files as I am wanting to upload more than 7000 files and 800 folders and using ftp this would take a long time. So I could just upload the .tar.bz2 file then use a script to extract the files onto the server. Thanks Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/ Share on other sites More sharing options...
hitman6003 Posted May 1, 2008 Share Posted May 1, 2008 http://www.php.net/book.bz2 http://www.google.com/search?hl=en&q=php+tar&btnG=Google+Search Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/#findComment-530787 Share on other sites More sharing options...
monkeypaw201 Posted May 1, 2008 Share Posted May 1, 2008 you could just upload it and use SSH to untar with: tar -zxf file.tat.bz2 Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/#findComment-530789 Share on other sites More sharing options...
mme Posted May 1, 2008 Author Share Posted May 1, 2008 I am sorry but what is SSH? Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/#findComment-530791 Share on other sites More sharing options...
hitman6003 Posted May 1, 2008 Share Posted May 1, 2008 http://en.wikipedia.org/wiki/Secure_Shell Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/#findComment-530793 Share on other sites More sharing options...
monkeypaw201 Posted May 1, 2008 Share Posted May 1, 2008 I am sorry but what is SSH? basically accessing your server with a command line Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/#findComment-530795 Share on other sites More sharing options...
mme Posted May 1, 2008 Author Share Posted May 1, 2008 How would I access my servers command line? I have ftp access Control Panel Access - Plesk Link to comment https://forums.phpfreaks.com/topic/103658-extract-tarbz2/#findComment-530801 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.