Hi I want the user can download an generated xml file and select the directory where this file will be downloaded. How I can do this. Thanks
You'll need a MIME type and just send (echo) the file to them.
Which MIME type is left as an echxerise left to the reader 😉