How do I unzip files on a remote server?

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post September 22nd, 2007, 10:49 pm

fionab what exactly isn't working ?, there's at least two methods in this thread you could be using. :scratchhead:

bogey your hosting account most likely has the "system" function disabled, alot of hosts do that because of security concerns, it could also be somthing like the server not having "unzip" availabe.
You'ld have to try another "system" command for somthing simple like getting the system date or pinging Google to find out.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post September 22nd, 2007, 10:49 pm

  • alvini11
  • Born
  • Born
  • No Avatar
  • Joined: Jul 03, 2008
  • Posts: 1
  • Status: Offline

Post July 3rd, 2008, 10:07 am

johnbc wrote:
if using linux / PHP
make php file of following:

<?php system('unzip zipFileName.zip'); ?>

and run from browser.
It will expand on the server (and save bandwidth).


it worked fine on the main directory but on subfolder say just
"Archive: joomlafile.zip"

Any thought please?
  • JonHull
  • Born
  • Born
  • No Avatar
  • Joined: Apr 03, 2009
  • Posts: 1
  • Status: Offline

Post April 3rd, 2009, 1:50 pm

After driving myself crazy I found out the GoDaddy provides a way to unzip your files. I copied and modified this info from another forum I found somewhere on the net.

Following these steps:


FTP the zipped folder to your GoDaddy Web hosting account.
*
Log into your GoDaddy account
*
Click on “My Hosting Accounts” (the link name might change over time)
*
Open the “Hosting Manager” for the hosting account that is hosting ProductCart
*
Under the “Content” section, click the “File Manager” icon.
*
Assuming you have uploaded the “.zip” file to the root, select it by using the check box on the left, then click on “Unarchive” at the top. In the window that is shown to you, leave “Select Destination” as is and don't check “Overwrite Existing Files”. The File Manager will unzip the files. The process will take around 30 seconds.
*
You should now see a folder called “#########” in the root.

Go back to the root, select the “#######” folder again by checking the check box on the left, then click on “Permissions” at the top. On the window that is shown to you ('Set permissions for selected folders'):
o
Inherit = unchecked
o
Read = checked
o
Write = checked
o
Reset all children to inherit (All subdirectories will be reset to inherit from current directory) = checked
*
Click “OK” and the File Manager will set Folder Permissions for you.
  • neens_wa
  • Born
  • Born
  • No Avatar
  • Joined: Oct 02, 2009
  • Posts: 1
  • Status: Offline

Post October 2nd, 2009, 4:16 pm

Sorry kids - please diregard, Seems that uninstalling and installing worked, and the plugin is fine.

I feel like such a dolt, but I know if I'm going to master this, I'll have to do soem serious digging, and ultimately (like now) ask some really basic questions.. (like now). Hoping benevolence is still in the air... Jon posted a very nice comment here about Godaddy allowing the upload of a zip file.

I upload the plugin zip file on godaddy, and when I go to my root directory, it doesn't display. Am I missing something?

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 130 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.