question

AzeemK-2483 avatar image
0 Votes"
AzeemK-2483 asked AzeemK-2483 commented

ADF error binary dataset does not support copying from folder to file

I am copying bunch of files from on prem share to blob storage , I am trying to rename files with replace function with dynamic parameter @filename @replace(dataset().file_name,'4194_','')

I m getting error binary dataset doesn't support copying from folder to file , I want to copy multiple files into ADLS folder and rename them using copy activity

azure-data-factoryazure-data-lake-storage
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hey ,
Based on the error message it seems that your source in copy activity is a file folder .
Can you please confirm on that?
If that is the case, then you have to iterate over every file in source copy activity rather than folder.

0 Votes 0 ·

Hello @AzeemK-2483 ,
We haven’t heard from you on the last response from @NandanHegde-7720 and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

0 Votes 0 ·

I tried bunch of different way on source in copy activity still getting the same error , I have pretty simple get metadata activity and foreachloop with copy activity but for some reason it doesn't let me change the file name and extension

0 Votes 0 ·

0 Answers