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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
rautd
New Member

Copy Activity Failing while copying .zip file.

Hi All,

 

I have a requirement to copy .zip file from one container to another container without uncompressing it. I am using copy activity to achieve this result. But copy activity is failing with below error.

 

"Message": "ErrorCode=CopyCommandFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message={\"TimeStamp\":\"2024-08-16T13:50:07.2583042Z\",\"MessageType\":\"Error\",\"MessageContent\":\"failed to perform copy command due to error: failed to initialize enumerator: The specified file was not found.\",\"PromptDetails\":{\"PromptType\":\"\",\"ResponseOptions\":null,\"PromptTarget\":\"\"}},Source=Microsoft.DataTransfer.ImportCommand.AzCopy,'", "EventType": 0,

 

I am working on event based pipeline where i need to trigger pipeline whenever a file is placed in the container i.e. whenever Azure blob storage event occurs. Is there a way to make this copy activity works?.

 

Pleasse let me know your views on this.

 

Thanks,

Deepmala

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rautd 

 

I managed to copy .zip file from one lakehouse to another lakehouse by a Copy data activity in a pipeline. Below are my settings for the activity. Hope it would be helpful.

Source:

vjingzhanmsft_0-1724046894563.png

Destination:

vjingzhanmsft_1-1724047153048.png

 

To use the Fabric data pipeline to copy a zip file from one place to another, you can follow these steps:

  1. Configure the Source and Destination: In the data pipeline, choose your connection in the source or destination of the copy activity. Select the appropriate connection type, such as Azure Blob Storage, Azure Data Lake Storage, or any other supported storage service.

     

  2. Select the File Format: In the File format section, choose Binary from the drop-down list. This is important because you are dealing with a zip file.

     

  3. Configure Compression Type: In the File format settings dialog box, select ZipDeflate as the compression type. This will ensure that the zip file is handled correctly during the copy process.

     

  4. Preserve Zip File Name: Under the Advanced settings in the Source tab, make sure to enable the option to preserve the zip file name as a folder. This will help maintain the structure of the zip file during the copy process.

     

  5. Run the Pipeline: Once you have configured the source, destination, and file format settings, you can run the pipeline to copy the zip file from the source location to the destination location.

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @rautd 

 

I managed to copy .zip file from one lakehouse to another lakehouse by a Copy data activity in a pipeline. Below are my settings for the activity. Hope it would be helpful.

Source:

vjingzhanmsft_0-1724046894563.png

Destination:

vjingzhanmsft_1-1724047153048.png

 

To use the Fabric data pipeline to copy a zip file from one place to another, you can follow these steps:

  1. Configure the Source and Destination: In the data pipeline, choose your connection in the source or destination of the copy activity. Select the appropriate connection type, such as Azure Blob Storage, Azure Data Lake Storage, or any other supported storage service.

     

  2. Select the File Format: In the File format section, choose Binary from the drop-down list. This is important because you are dealing with a zip file.

     

  3. Configure Compression Type: In the File format settings dialog box, select ZipDeflate as the compression type. This will ensure that the zip file is handled correctly during the copy process.

     

  4. Preserve Zip File Name: Under the Advanced settings in the Source tab, make sure to enable the option to preserve the zip file name as a folder. This will help maintain the structure of the zip file during the copy process.

     

  5. Run the Pipeline: Once you have configured the source, destination, and file format settings, you can run the pipeline to copy the zip file from the source location to the destination location.

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 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.