Docker and ZPM modules added
This is basically a CSP based application. You can view the file from the server and download the file from the server
http:// server:port/webapp/CSPFile.DownloadFile.cls?file=directoryandfilename
ex: http://localhost:52773/csp/healthshare/learning/CSPFile.ViewFile.cls?file=C:\Users\download.pdf
View files
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
$ git clone https://github.com/AshokThangavel/CSPFileViewDownload
Open the terminal in this directory and run:
$ docker-compose build
Run the IRIS container with your project:
$ docker-compose up -d
You can test it with two examples:
To view the protocol, open in a browser:
http://localhost:52663/csp/user/CSPFile.ViewFile.cls?file=/usr/irissys/mgr/messages.log
Download file from server:
http://localhost:52663/csp/user/CSPFile.DownloadFile.cls?file=/usr/irissys/dev/python/intersystems_irispython-3.2.0-py3-none-any.whl