WebAPP Server 2020b File download using uiputfile
Show older comments
Hi Team,
We are using Linux based WebAPP Server 2020b for one our App deployment. One Requirement is to save the output .mat file to local system from web app server.
We used uiputfile for achievening this requirement. The file is getting downloaded into browser download folder. If we change the download folder path is browser settings, the file is getting downloaded there Eg (Sharepoint or One Drive)
My question here is, Can we restirct the path of download folder to static location? This is needed for proving that any country specific data is used within the country premises and not exported to any other location.
Please let me know, if more details required.
Answers (1)
Rik
on 18 Dec 2020
0 votes
The uiputfile returns a full path as the second output, see the documentation. You can test if the path it returns fits within your restrictions and open a new uiputfile if the location is not valid.
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!