# Trouble in downloading the attachments from email to EC2 instance using query component

**URL:** <https://matillioncommunity.discourse.group/t/trouble-in-downloading-the-attachments-from-email-to-ec2-instance-using-query-component/1227>\
**Category:** Matillion ETL\
**Created:** [December 30, 2020, 6:59am UTC](https://matillioncommunity.discourse.group/t/trouble-in-downloading-the-attachments-from-email-to-ec2-instance-using-query-component/1227 "2020-12-30T06:59:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sd111242](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@sd111242](https://matillioncommunity.discourse.group/u/sd111242)\
**Post date:** [December 30, 2020, 6:59am UTC](https://matillioncommunity.discourse.group/t/trouble-in-downloading-the-attachments-from-email-to-ec2-instance-using-query-component/1227/1 "2020-12-30T06:59:44Z")

</div>

Could anyone help me if I am missing something as I followed the exact instructions mentioned on official documentation video to download the attachments from inbox to EC2.

&nbsp;

I am able to view the attachment files in staging area after the job has run successfully, however i am unable to see the files in local directory.
