Skip to content
Advertisement

Custom cell button action to Download a file to the ‘downloads’ folder

so I have managed to build my custom cell which holds a button to download a file from my local database. somehow all seems fine but when i run and try to download, I get an sql error that there’s a problem with my sql query. I would also like the user to chose the location to save the downloaded file. Any help is highly appreciated.

here is the sql error:

enter image description here

here is the onaction method for the download button

Advertisement

Answer

Here is what has worked for me

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement