使用儲存體總管管理 Azure Data Lake Storage Gen1 資源Manage Azure Data Lake Storage Gen1 resources by using Storage Explorer

Azure Data Lake Storage Gen1 是用來儲存大量非結構化資料 (例如文字或二進位資料) 的服務。Azure Data Lake Storage Gen1 is a service for storing large amounts of unstructured data, such as text or binary data. 您可以透過 HTTP 或 HTTPS 從任何位置存取資料。You can get access to the data from anywhere via HTTP or HTTPS. Azure 儲存體總管中的 Data Lake Storage Gen1 可讓您存取和管理 Data Lake Storage Gen1 資料和資源,以及如 Blob 和佇列等其他 Azure 實體。Data Lake Storage Gen1 in Azure Storage Explorer enables you to access and manage Data Lake Storage Gen1 data and resources, along with other Azure entities like blobs and queues. 現在您可以使用同一個工具在同一處管理您不同的 Azure 實體。Now you can use the same tool to manage your different Azure entities in one place.

另一個優點是,您不需擁有訂用帳戶權限即可管理 Data Lake Storage Gen1 資料。Another advantage is that you don't need to have subscription permission to manage Data Lake Storage Gen1 data. 在儲存體總管中,只要他人授與權限,您即可將 Data Lake Storage Gen1 路徑連結至 [本機與已連結的資源] 節點。In Storage Explorer, you can attach the Data Lake Storage Gen1 path to the Local and Attached node as long as someone grants the permission.

必要條件Prerequisites

若要完成本文中的步驟,您必須符合下列先決條件︰To complete the steps in this article, you need the following prerequisites:

安裝儲存體總管Install Storage Explorer

產品網頁安裝最新的 Azure 儲存體總管。Install the newest Azure Storage Explorer bits from the product webpage. 安裝支援 Windows、Linux 及 Mac 版本。The installation supports Windows, Linux, and Mac versions.

連線到 Azure 訂用帳戶Connect to an Azure subscription

  1. 在儲存體總管中,選取左邊的外掛程式圖示。In Storage Explorer, select the plug-in icon on the left.

    外掛程式圖示

  2. 選取 [新增 Azure 帳戶] ,然後選取 [登入] 。Select Add an Azure Account, and then select Sign-in.

    [連線至 Azure 儲存體] 對話方塊

  3. 在 [登入您的帳戶] 對話方塊中,輸入您的 Azure 認證。In the Sign in to your account dialog box, enter your Azure credentials.

    Azure 登入對話方塊

  4. 從清單中選取您的訂用帳戶,然後選取 [套用] 。Select your subscription from the list, and then select Apply.

    訂用帳戶資訊和 [套用] 按鈕

    [總管] 窗格會更新,並顯示所選取訂用帳戶中的帳戶。The EXPLORER pane is updated and displays the accounts in the selected subscription.

    帳戶清單

您已成功將 Data Lake Storage Gen1 連線至您的 Azure 訂用帳戶。You have successfully connected Data Lake Storage Gen1 to your Azure subscription.

連線至 Data Lake Storage Gen1Connect to Data Lake Storage Gen1

如果有人為您提供資源的 URI,您即可存取您的訂用帳戶中不存在的資源。You can access resources that don't exist in your subscription if someone gives you the URI for the resources. 您可以在登入後,使用此 URI 連線至 Data Lake Storage Gen1。You can then connect to Data Lake Storage Gen1 by using the URI after you sign in.

  1. 開啟儲存體總管。Open Storage Explorer.

  2. 在左窗格中,展開 [本機與已連結的資源] 。In the left pane, expand Local and Attached.

  3. 以滑鼠右鍵按一下 [Data Lake Store] ,然後選取 [連線至 Data Lake Store] 。Right-click Data Lake Store, and then select Connect to Data Lake Store.

    捷徑功能表上的 [連線至 Data Lake Store]

  4. 輸入 URI。Enter the URI. 工具會瀏覽至您剛才輸入的 URL 位置。The tool browses to the location of the URL that you just entered.

    [連線至 Data Lake Store] 對話方塊,內含可供輸入 URI 的文字方塊

    連線至 Data Lake Storage Gen1 的結果

檢視 Data Lake Storage Gen1 帳戶的內容View a Data Lake Storage Gen1 account's contents

Data Lake Storage Gen1 帳戶的資源包含資料夾和檔案。A Data Lake Storage Gen1 account's resources contain folders and files.

下列步驟說明如何在儲存體總管中檢視 Data Lake Storage Gen1 帳戶的內容:The following steps illustrate how to view the contents of a Data Lake Storage Gen1 account within Storage Explorer:

  1. 開啟儲存體總管。Open Storage Explorer.

  2. 在左窗格中,展開包含您要檢視的 Data Lake Storage Gen1 帳戶之訂用帳戶。In the left pane, expand the subscription that contains the Data Lake Storage Gen1 account that you want to view.

  3. 展開 Data Lake StoreExpand Data Lake Store.

  4. 以滑鼠右鍵按一下您要檢視的 Data Lake Storage Gen1 帳戶節點,然後選取 [開啟] 。Right-click the Data Lake Storage Gen1 account node that you want to view, and then select Open. 您也可以按兩下 Data Lake Storage Gen1 帳戶來開啟。You can also double-click the Data Lake Storage Gen1 account to open it.

    主窗格會顯示 Data Lake Storage Gen1 帳戶的內容。The main pane displays the Data Lake Storage Gen1 account's contents.

    內含資料夾清單的主窗格

管理 Data Lake Storage Gen1 中的資源Manage resources in Data Lake Storage Gen1

您可以透過下列操作來管理 Data Lake Storage Gen1 資源:You can manage Data Lake Storage Gen1 resources by doing following operations:

  • 瀏覽橫跨多個 Data Lake Storage Gen1 帳戶的 Data Lake Storage Gen1 資源。Browse through Data Lake Storage Gen1 resources across multiple Data Lake Storage Gen1 accounts.
  • 使用連接字串直接連線和管理 Data Lake Storage Gen1。Use a connection string to connect to and manage Data Lake Storage Gen1 directly.
  • 透過 [本機與已連結的資源] 下的 ACL 檢視與他人共用的 Data Lake Storage Gen1 資源。View Data Lake Storage Gen1 resources shared by others through an ACL under Local and Attached.
  • 執行檔案和資料夾 CRUD 作業:支援遞迴資料夾和複選的檔案。Perform file and folder CRUD operations: support recursive folders and multi-selected files.
  • 拖曳、卸除 及新增資料夾,以快速存取最近使用的位置。Drag, drop, and add a folder to quickly access recent locations. 這項作業會反映桌面檔案總管體驗。This operation mirrors the desktop File Explorer experience.
  • 在儲存體總管中按一下,即可複製和開啟 Data Lake Storage Gen1 超連結。Copy and open a Data Lake Storage Gen1 hyperlink in Storage Explorer with one click.
  • 在右下方的窗格中顯示活動記錄,以檢視活動狀態。Display Activity Log in the lower-right pane to view activity status.
  • 顯示資料夾統計資料和檔案屬性。Display folder statistics and file properties.

在 Azure 儲存體總管中管理資源Manage resources in Azure Storage Explorer

建立 Data Lake Storage Gen1 帳戶後,您可以:After you create a Data Lake Storage Gen1 account, you can:

  • 上傳資料夾和檔案、下載資料夾和檔案,以及開啟本機電腦上的資源。Upload folders and files, download folders and files, and open resources on your local computer.
  • 釘選至 [快速存取] 、建立新資料夾、複製 URL 以及全選。Pin to Quick Access, create a new folder, copy a URL, and select all.
  • 複製並貼上、重新命名、刪除、取得資料夾統計資料,以及重新整理。Copy and paste, rename, delete, get folder statistics, and refresh.

下列項目說明如何管理 Data Lake Storage Gen1 帳戶內的資源。The following items illustrate how to manage resources within a Data Lake Storage Gen1 account. 遵循您想要執行之工作的步驟。Follow the steps for the task that you want to perform.

上傳檔案Upload files

  1. 在主窗格的工具列上,選取 [上傳] ,然後在下拉式功能表上選取 [上傳檔案] 。On the main pane's toolbar, select Upload, and then select Upload Files on the drop-down menu.

    [上傳檔案] 功能表項目

  2. 在 [選取要上傳的檔案] 對話方塊中,選取您要上傳的檔案。In the Select files to upload dialog box, select the files that you want to upload.

    上傳檔案的對話方塊

  3. 選取 [開啟] 以開始上傳。Select Open to begin the upload.

上傳資料夾Upload a folder

  1. 在主窗格的工具列上,選取 [上傳] ,然後在下拉式功能表上選取 [上傳資料夾] 。On the main pane's toolbar, select Upload, and then select Upload Folder on the drop-down menu.

    [上傳資料夾] 功能表項目

  2. 在 [選取要上傳的資料夾] 對話方塊中,選取您要上傳的資料夾。In the Select folder to upload dialog box, select a folder that you want to upload. 然後按一下 [選取資料夾] 。Then click Select Folder.

    上傳資料夾的對話方塊

    上傳隨即開始。The upload starts.

    上傳正在進行中的對話方塊

注意

您也可以直接拖曳本機電腦上的檔案和資料夾,以開始上傳。You can directly drag the folders and files on a local computer to start uploading.

將資料夾或檔案下載到本機電腦Download folders or files to your local computer

  1. 選取您要下載的資料夾或檔案。Select the folders or files that you want to download.
  2. 在主窗格工具列上選取 [下載] 。On the main pane's toolbar, select Download.
  3. 在 [選取要在其中儲存所下載檔案的資料夾] 對話方塊中,指定位置和名稱。In the Select a folder to save the downloaded files into dialog box, specify the location and the name.
  4. 選取 [ 儲存]。Select Save.

從本機電腦開啟資料夾或檔案Open a folder or file from your local computer

  1. 選取您要開啟的資料夾或檔案。Select the folder or file that you want to open.
  2. 在主窗格工具列上選取 [開啟] 。On the main pane's toolbar, select Open. 或以滑鼠右鍵按一下選取的資料夾或檔案,然後選取捷徑功能表上的 [開啟] 。Or right-click the selected folder or file, and then select Open on the shortcut menu.

檔案會進行下載,並透過與基礎檔案類型相關聯的應用程式開啟。The file is downloaded and opened through the application that's associated with the underlying file type. 或者,資料夾會在主窗格中開啟。Or the folder is opened in the main pane.

開啟的日期

將資料夾或檔案複製到剪貼簿Copy folders or files to the clipboard

  1. 選取您要複製的資料夾或檔案。Select the folders or files that you want to copy.
  2. 在主窗格工具列上選取 [複製] 。On the main pane's toolbar, select Copy. 或以滑鼠右鍵按一下選取的資料夾或檔案,然後選取捷徑功能表上的 [複製] 。Or right-click the selected folders or files, and then select Copy on the shortcut menu.
  3. 在左窗格中,瀏覽至另一個 Data Lake Storage Gen1 帳戶,然後按兩下該帳戶以在主窗格中檢視。In the left pane, browse to another Data Lake Storage Gen1 account, and double-click it to view it in the main pane.
  4. 在主窗格工具列上選取 [貼上] ,以建立複本。On the main pane's toolbar, select Paste to create a copy. 或者,在目的地的捷徑功能表上選取 [貼上] 。Or select Paste on the destination's shortcut menu.

複製資料夾的選取項目

注意

不支援跨儲存體類型的複製 / 貼上作業。Copy/paste operations across storage types are not supported. 您可以複製 Data Lake Storage Gen1 資料夾或檔案,並將它們貼到另一個 Data Lake Storage Gen1 帳戶中。You can copy Data Lake Storage Gen1 folders or files and paste them in another Data Lake Storage Gen1 account. 但是您無法複製 Data Lake Storage Gen1 資料夾或檔案,並將它們貼到 Azure Blob 儲存體中,反之亦然。But you cannot copy Data Lake Storage Gen1 folders or files and paste them to Azure Blob storage or the other way around.

複製 / 貼上作業的運作方式,是先將資料夾或檔案下載到本機電腦,然後將它們上傳至目的地。The copy/paste operation works by downloading the folders or files to the local computer and then uploading them to the destination. 此工具「不會」 在後端執行此動作。The tool does not perform the action in the back end. 大型檔案的複製 / 貼上作業速度很慢。The copy/paste operation on large files is slow. 高效能檔案的複製 / 移動正在進行最佳化。The optimization of high-performance file copy/move is underway.

刪除資料夾或檔案Delete folders or files

  1. 選取您要刪除的資料夾或檔案。Select the folders or files that you want to delete.
  2. 在主窗格工具列上選取 [刪除] 。On the main pane's toolbar, select Delete. 或以滑鼠右鍵按一下選取的資料夾或檔案,然後選取捷徑功能表上的 [刪除] 。Or right-click the selected folders or files, and then select Delete on the shortcut menu.
  3. 選取確認對話方塊中的 [是] 。Select Yes in the confirmation dialog box.

刪除資料夾的選取項目

釘選到快速存取Pin to Quick Access

  1. 選取您要釘選的資料夾。Select the folder that you want to pin.

  2. 在主窗格的工具列上,選取 [釘選到快速存取] 。On the main pane's toolbar, select Pin to Quick access.

    在左窗格中,選取的資料夾已新增至 [快速存取] 節點。In the left pane, the selected folder is added to the Quick Access node.

    將資料夾釘選至 [快速存取] 的選取項目

將資料夾釘選至 [快速存取] 節點之後,您即可輕鬆存取資源。After you pin a folder to the Quick Access node, you can easily access the resources.

如果您有 URL,您可以將 URL 輸入至 [檔案總管] 或瀏覽器中的位址路徑。If you have a URL, you can enter the URL into the address path in File Explorer or a browser. 然後 Storage Explorer.exe 會自動執行,以移至 URL 的位置。Then Storage Explorer.exe runs automatically to go to the location of the URL.

檔案總管中的深層連結

後續步驟Next steps