my task is easy but I can't find anything on the web to help me.
I click on a button on my website, this event execute a php file (by ajax).
In this php file, I want to download a csv files directly on my serveur in the folder /uploads. I have the link of the csv, exemple : www.thewebsite.com/files/yourlastcall.csv
I have access to this folder, and I have all the rights in my /uploads.
So, do you guys know how to achieve this?
Thank you, and sorry for my english, i'm a little frenchy :)