In the following scenario, I am wondering what would be the best way to get the files from the server.
I’ve a download button in the UI, the user clicks on it, it could take 2-3 hours for the backend to process upload the files(3-4 files) in a specific directory on the server.
What would be an ideal way to display files on the UI. I mean how should I get it from the specified directory from the server. Since there are 2-3 files that I am trying to get, I am wondering how making a web service call to the specified location would make sense since a REST call might just give me a JSON or XML response? Is there any other approach that I am missing here?
For displaying a file, would showing a HTML text area and then showing the files in it be a good idea?I am not sure if this is even possible or if it’s a correct approach. The user should be able to download all the files in zip format.