jeudi 16 février 2012

unzip file on Ftp server

Some hosting server (some free hosting provider) doesn't allow you to unzip your zip file
try to connect with a shell(ssh or telnet) and verify if tar exist
you have to choose between 3 solutions:
1-use a web based ftp client :
2-use a php script to do it for you :
but you need to install the php-shell on your server or enable it
echo 'unziping this';
$unzip = shell_exec(" unzip");
in some server you get
Warning: shell_exec() has been disabled for security reasons

3- logiciel zipdeploy

Aucun commentaire:

Enregistrer un commentaire

Nombre total de pages vues