Add support for downloading a file saved in 'upload' folder at instace
We've an API available in backed named downloadFile.jsp which provides us a way to download the file from instance server.
This API is complmentry of uploadFile.jsp which we're using in ACC WebUI to upload files for various puposes. These files go to 'upload' folder on the instance's home folder and we can download only those file which are available in this folder.
We already have a fileUploader.upload available in this SDK, adding support for fileUploader.download in this PR.
It is important to keep this under fileUploader because this is not a generic utility and can download files only from upload folder i.e. can only download the files which are uploaded using fileUploader.upload.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
We've an API available in backed named downloadFile.jsp which provides us a way to download the file from instance server.
This API is complmentry of uploadFile.jsp which we're using in ACC WebUI to upload files for various puposes. These files go to 'upload' folder on the instance's home folder and we can download only those file which are available in this folder.
We already have a
fileUploader.upload
available in this SDK, adding support forfileUploader.download
in this PR.It is important to keep this under
fileUploader
because this is not a generic utility and can download files only fromupload
folder i.e. can only download the files which are uploaded usingfileUploader.upload
.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: