# Get a file from URL that go to an HTML page that return csv file via JS

**URL:** <https://community.make.com/t/get-a-file-from-url-that-go-to-an-html-page-that-return-csv-file-via-js/44735>\
**Category:** Questions\
**Tags:** connections\
**Created:** [July 5, 2024, 8:17am UTC](https://community.make.com/t/get-a-file-from-url-that-go-to-an-html-page-that-return-csv-file-via-js/44735 "2024-07-05T08:17:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nuanda41](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/nuanda41/32/40664_2.png) [@Nuanda41](https://community.make.com/u/Nuanda41)\
**Post date:** [July 5, 2024, 8:17am UTC](https://community.make.com/t/get-a-file-from-url-that-go-to-an-html-page-that-return-csv-file-via-js/44735/1 "2024-07-05T08:17:17Z")

</div>

Hi,  
I’m in trouble to resolve this problem.  
I already have a working scenario which trigger mail, parse text, retrive URL like “[https://www.mysite.com/myfile.csv](https://www.mysite.com/myfile.csv)”, do a HTTP Get a File with this URL and then upload this file on SFTP.  
In that other case, in the mail, there’s a URL like “[https://www.mysite.com/astring?randomchar](https://www.mysite.com/astring?randomchar)” that go to an HTML page that return csv file via JS.  
If I use the same modules described above, the HTTP Get a file Module retrive the HTML file of the page and not the csv file pushed by JS.  
There’s a way to solve this ?

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [July 5, 2024, 8:20am UTC](https://community.make.com/t/get-a-file-from-url-that-go-to-an-html-page-that-return-csv-file-via-js/44735/2 "2024-07-05T08:20:29Z")

</div>

It depends on the site, but likely possible. You’ll need to provide the live URLs for further investigation.

[samliew](https://samliew.com/services) – [request private consultation](https://samliew.com/request-quote?ServiceType=Automation%20Consultation&Referrer=Make)

> Join the [Make Fans](https://samliew.com/make-discord-invite) Discord server to [chat](https://samliew.com/make-discord-invite) with other makers!

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [October 3, 2024, 8:22am UTC](https://community.make.com/t/get-a-file-from-url-that-go-to-an-html-page-that-return-csv-file-via-js/44735/3 "2024-10-03T08:22:29Z")

</div>


