Export file and save to a folder


I was wondering if someone can help me get an idea how i can achieve this.
I have an export to be done which is for the moment in csv format. It is a dynamic export depending on filters made, date, timezone etc.
I click on the download button the csv is downloaded but it goes to my download folder in my machine.
I want that export to go in my project directory when it gets downloaded. Later this same export will be triggered in CI, how can i make it work on CI and locally as well.

I was trying to get the name of the export file and save it in a directory i will create but from here i am not sure how it will work on CI.

Anyone can give me an idea please so i can implement.

Thank you

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.