Share via

source files problem from internal server to Gen2 container

Nick Wong 175 Reputation points
2024-05-31T14:16:49.5966667+00:00

Hello,

I am trying to connect my interal files system to the gen2 container sink, following this instructions

https://arulmouzhi.wordpress.com/2021/04/12/bringing-folder-structure-via-azure-data-factory/

The first one in Allfiles set, I can load everything including folder and files.

User's image

When I follow the sourcebinary to be in the sink under the for loop copy file with file path @item().name, it seems to be no files or folders going into gen2 container at all, so I switch the sink from the file server instead of the URL shown as new sourcebinary but it shows

User's image

What wildcard should I use in order to avoid this problem from the attached

User's image

Many thanks

Nick

Azure Synapse Analytics
Azure Synapse Analytics

An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.


1 answer

Sort by: Most helpful
  1. Anonymous
    2024-06-03T11:56:55.83+00:00

    @Nick Wong - Welcome to Microsoft Q&A platform and thanks for posting your question.

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others "I'll repost your solution in case you'd like to accept the answer.

    Ask: I am trying to connect my interal files system to the gen2 container sink, following this instructions

    https://arulmouzhi.wordpress.com/2021/04/12/bringing-folder-structure-via-azure-data-factory/

    The first one in Allfiles set, I can load everything including folder and files.

    User's image

    When I follow the sourcebinary to be in the sink under the for loop copy file with file path @item().name, it seems to be no files or folders going into gen2 container at all, so I switch the sink from the file server instead of the URL shown as new sourcebinary but it shows

    User's image

    What wildcard should I use in order to avoid this problem from the attached

    User's image

    Solution: When I dont fill anything inside the spaces in the source (file system) and sink (binary), it could transfer all the files over.

    If I missed anything please let me know and I'd be happy to add it to my answer, or feel free to comment below with any additional information.

    If you have any other questions, please let me know. Thank you again for your time and patience throughout this issue.


    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.