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

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

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
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors