Azure blob practice-from client to FTP

Source: Internet
Author: User

Background: Microsoft has not yet provided a good client tool for blob on Azure, which seriously affects data interaction, I will share with you my recently tested experience on using blob upload tools (including FTP workerrole)

Environment:

Vs2010 with SP1/vs2012 + windows azure sdks 1.5

Windows azure account

1. Introduction to Azure blob

Blob is a common azure option in storage. It is mainly used to store and manage binary data (such as slices and videos.

Ii. Why should I Configure ftp?

The main features and shortcomings of commonly used blob upload tools

1) azurestorageexplorer

Advantage: You can use it directly after installation. Delete and modify the files on the iner without configuring blob.

Insufficient: only file operations are allowed during upload, but folder operations are not allowed. The operation status is not displayed during upload operations.

2) cloudxplorer (Recommendation)

Advantages: user-friendly and powerful functions (such as creating snapshots, dragging and dropping folders, or even migrating between different folders and Accounts). It can be used for free, and some operations on the interface are like resource manager.

Disadvantage: paid software. The trial period is 30 days.

3) azcopy

It is a command line tool. It is not very convenient to use and has not been carefully studied yet.

4) blob transfer utility

Advantages: comprehensive functions (support for queue, resume, folder upload, etc.), direct use of insufficient: currently in beta version, too many queues or uploading large files occasionally reports "Stack error"

5) cloudberry Explorer for azure blob Storage

Iii. Introduction to ftp2azure

After the client tools are listed above, you will not be able to return to the focus of this article-FTP.

Because blob itself does not support the FTP server function, some people have changed the workerrole to implement similar functions. Here, most of the users use the ftp2azure curve implementation.

Iv. Procedure

First, you must have an azure account (you can apply for three months free of charge, but you need a visa card and mobile phone verification. Currently, Chinese mobile phone numbers are not supported)

1. Download The ftp2azure release file (ftp2azure azure package), which contains only the ftp2azure. cspkg and serviceconfiguration. cscfg files.

2. log on to the corresponding cloudservice in azure, Select Upload and select the corresponding package

3. Configuration: This workerrole currently only supports the production environment and does not support staging. Set it to multiple instances as much as possible. Otherwise, the press conference fails.

The dashboard contains the response FTP server address and port information.

Set the corresponding parameters. In particular, ftpaccount is the FTP account and password to be used, and name is the conainer name. If there is no corresponding container, it will be automatically created. Note that there is no ") in the password. ".

V. Demo Testing

Use flashfxp and other tools to test the connection and you can upload files.

Vi. Summary

1. Notes:

1) the FTP server does not support file upload and overwrite

2) the FTP server does not support resumable data transfer.

3) when the FTP client uploads the encoding set to UTF-8, otherwise the Chinese file name will appear garbled

4) ftp2azure's stability is not very good, and occasionally there will be minor faults that cannot display the list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.