Hi @salvatore_dange ,
Hope you are well.
You don't need a file transfer activity here. Just use the data extraction activity and the delivery in the next step. Like this:

In your delivery, specify the attachment as follows:

Hope this helps.
Thanks,
Ishan