从Azure的上传下载文件cspkg [英] Download uploaded cspkg file from Azure

查看:171
本文介绍了从Azure的上传下载文件cspkg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以从Azure的下载cspkg我上传(而不是重新上传新的软件包)?

Can I download the cspkg from Azure that I uploaded (rather than reuploading new package)?

的方案是 -

我需要将文件添加到现有的网站 - 让说的图像。

I need to add files into existing website - let say an image.

我RDP和手动添加;然而,天青重新创建一个新的实例和消灭我的文件时,我的实例的行为让异常。

I rdp and add manually; however, Azure recreates a new instance and wipe out my files when my instance behaves so abnormally.

(理想情况下,我应该将它们存储在存储,但问题不在于这个。)

(Ideally, I should store them in storage, but the question is not about that.)

感谢您的咨询!

推荐答案

[下面的段落是不正确]

目前没有API或机构,其可直接从该被上传的Windows Azure门户站点的完全相同CSPKG。这肯定是从Windows Azure的用户特别是当你失去了你的Windows Azure项目/解决方案一大要求。

Currently there is no API or mechanism which can download the exact same CSPKG directly from Windows Azure Portal which was uploaded. This sure is a big requirement from Windows Azure user specially when you loose your Windows Azure Project/Solution.

使用找包 REST API,你可以下载包从特定的部署到您的博客的Azure存储。如果您决定写自己的C#应用​​程序使用REST API的样本这里。如果你不想写API和只使用REST调用下载包,还有一些工具和我使用的 BURP(基于Java) href=\"http://blogs.msdn.com/b/avkashchauhan/archive/2012/05/16/windows-azure-management-using-burp-java-based-gui-tool-and-rest-api.aspx\"相对=nofollow>此处。您可以使用在博客中设置的信息连接到Azure的门户网站,然后使用REST调用的文件以获得包。

Using "Get Package" REST API you can download the package from specific deployment to your Azure Blog storage. IF you decide to write your own C# application to use REST API the sample is here. If you don't want to write API and just download the package using REST call, there are a few tools and I have used BURP (based on Java) as described in my blog here. You can use the info in the blog to setup connect to Azure Portal and then use REST call as documented to get the package.

即使您下载CSPKG(或有CSPKG的本地副本)接下来你仍然无法通过添加或直接删除任何内容,因为这将打破CSPKG包装完整,你会得到一个错误上传编辑。包装必须使用CSPACK工具来创建。

Next even if you download the CSPKG (or have a local copy of CSPKG) still you can not edit it by adding or removing any content directly to it because this will break the CSPKG package integrity and you will get an error uploading it. The package must be created using CSPACK tool.

驱动器E:\\在您为approot是不包括大部分已编译的code,所以,如果你能在本地下载并想出了一个主意,建立一个新的项目形式(???),这可能是一种选择。如果包创建直接使用CSPACK工具和下载从驱动器E中的文件:\\并重新创建包不工作但如果在一个复杂的应用包括源和编译code文件的项目,即ASP.NET/MVCx应用,它太硬。

The Drive E:\ where your approot is does include most of your compiled code so if you can download it locally and come up with an idea to build a new project form that (???), that could be an option. If the package was created directly using CSPACK tool and the downloading the files from drive E:\ and recreating the package does work however if the project the a complex application included source and compiled code files i.e. ASP.NET/MVCx application, it is tough.

这篇关于从Azure的上传下载文件cspkg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆