简体   繁体   English

Azure 数据工厂 - 从文件共享中读取文件路径列表并保存到 Blob

[英]Azure Data Factory - Read in a list of filepaths from a fileshare and save to Blob

What I have is a list of filepaths, saved inside a text file.我有一个文件路径列表,保存在一个文本文件中。

eg: filepaths.txt ==例如:文件路径.txt ==

C:\Docs\test1.txt C:\Docs\test1.txt

C:\Docs\test2.txt C:\Docs\test2.txt

C:\Docs\test3.txt C:\文档\test3.txt

How can I set up a Azure Data Factory pipeline, to essentially loop through each file path and copy it to Azure Blob Storage?如何设置 Azure 数据工厂管道,基本上循环遍历每个文件路径并将其复制到 Azure Blob 存储? So in blob storage, I would have:所以在 blob 存储中,我会:

  • \Docs\test1.txt \文档\test1.txt
  • \Docs\test2.txt \文档\test2.txt
  • \Docs\test3.txt \文档\test3.txt

Thanks,谢谢,

You can use the "List of files" option in the copy activity.您可以在复制活动中使用“文件列表”选项。 But to do this in 1 step, your txt file with the list of files needs to be in the same Source as where the actual files are present.但是要在 1 步中完成此操作,您的包含文件列表的 txt 文件需要与实际文件所在的源位于同一源中。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Matillion:从 Azure Blob 存储容器和 Windows 文件共享中删除文件 - Matillion: Delete files from Azure Blob Storage Container and Windows Fileshare 将应用服务中的数据复制到 azure 文件共享 - copy data from app service to azure fileshare 将最新的文件夹从 azure blob 存储加载到 azure 数据工厂 - Load the latest folder from azure blob storage to azure data factory 将 Azure 服务总线消息发送到 Blob 或 Azure 数据工厂 - Send Azure Service Bus messages to Blob or Azure Data Factory Azure 数据工厂:如果 PostgreSQL 在私有 su.net (Azure) 中,则为 PostgreSQL 到 blob 存储 - Azure Data factory: PostgreSQL to blob storage if PostgreSQL is in a private subnet (Azure) 在 Azure 数据工厂中获取 blob 文件的自定义元数据 - Get custom metadata for blob files in Azure data factory 如何读取Azure数据工厂中的*.txt文件? - How to read *.txt files in Azure Data Factory? 如何执行基于 Azure 数据工厂中创建的 Blob 的触发器? - How to execute a trigger based on Blob created in Azure Data Factory? 如何读取Azure数据工厂中的.BAK文件? - How to read an .BAK file in Azure data factory? Azure数据工厂中如何读取XML响应 - In Azure Data Factory how to read XML response
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM