上传到Azure的网站文件解压 [英] Unzip file uploaded to Azure Websites
问题描述
我上传我的Word preSS网站的zip到Azure的网站。当我试着使用WinSCP赋予它的工作原理到FTP,但我不能使用解压缩transfer.zip在命令接口。
I uploaded a zip of my Wordpress site to an Azure website. When I try to FTP in with Winscp it works, but I can't use unzip transfer.zip in the command interface.
我要如何解压缩我的zip文件,现在是在服务器上?
How do I unzip my zip file that is now on the server?
推荐答案
的一种方式是上传的7-Zip的命令行版本,它是一个独立的.EXE文件。
One way is to upload the command line version of 7-Zip, it's a standalone .EXE file.
接下来,从Azure的preVIEW门户的Azure门户(2014年),导航到你的网站,点击控制台瓷砖和键入unzip命令:
Next, from the Azure Preview Portal Azure portal (2014), navigate to your Website, click on the console tile and type the unzip command:
7za x thezipfile.zip
到门户的替代方法是使用来自捻控制台。将供应链管理你的网站名称和azurewebsites.net这样间推出捻:
An alternative to the portal is to use the console from Kudu. Insert "SCM" between your Website name and azurewebsites.net like this to launch Kudu:
yoursitename.scm.azurewebsites.net
在使用捻一个好处是,你可以直接在浏览器只是拖动和放上传文件;投下他们。
One advantage in using Kudu is that you can upload files directly in the browser just by drag&dropping them.
pretty凉爽。
这篇关于上传到Azure的网站文件解压的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!