Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

Reply
amvans_90
Regular Visitor

Copy data not recognizing existing headers

I'm very new to DF, so I need help figuring out the most effcient way to set up a pipeline.  I have to copy .zip files from an SFTP, store them in Blob storage, and extract .csv files with certain names from the .zip file to process and move into a database.  .zip files are added the SFTP and need to be picked up daily. Each .zip file contains files with different information and different columns (ex. users_todaysdate.csv, demographics_todaysdate.csv, service_rates_todaysdate.csv).

 

I've been able to copy the files from SFTP to Blob and set the trigger to copy them daily, then, using wildcard file path, copying each file with a specific prefix (users, demographics, service_rates) to a new folder, so they're no longer compressed.  However, its not recognizing my headers and keeps adding "PROP_#" as headers to the new file copied into the final folder.  Or it tries to force me to use the "merge files" copy behavior, which still doesn't recognize the headers.  

 

How do I fix this? Is there a better, more effcient way for this pipeline?

3 REPLIES 3
v-lgarikapat
Community Support
Community Support

Hi @amvans_90 ,

Thank you for reaching out to the Microsoft Fabric Community Forum.

Thanks for sharing the details of your pipeline setup

Just to make sure I provide the most accurate help, could you please confirm whether you're building this pipeline in Azure Data Factory or in Microsoft Fabric's Data Factory? Both tools offer similar capabilities, but some features and setup steps differ slightly between the two.

 

Once I know which platform you're using, I’ll be happy to suggest the most efficient way to handle the .zip extraction and ensure the headers are correctly processed in your CSV files.

Looking forward to your reply.

 

Best regards,
Lakshmi Narayana

Azure Data Factory.

@amvans_90 ,

Thank you for the confirmation. Since your issue appears to be specific to Azure Data Factory, I would recommend posting it in the Azure Data Factory Community Forum. That forum is more focused on ADF-related topics, and you're likely to receive more targeted guidance from experts there.

 

Best regards,
Lakshmi Narayana

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.