Home Applications csp-fileview-download

csp-fileview-download

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
4.75
2 reviews
0
Awards
179
Views
0
IPM installs
2
0
Details
Releases (2)
Reviews (2)
Issues
view and download file via CSP application

What's new in this version

Docker and ZPM modules added

CSPFileViewDownload

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

image

Installation with Docker

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

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

Made with
Install
zpm install CSPFileViewDownload download archive
Version
1.0.120 Aug, 2025
Ideas portal
Category
Solutions
Works with
InterSystems IRISInterSystems IRIS for HealthCachéEnsemble
First published
18 Aug, 2023
Last edited
20 Aug, 2025
Last checked by moderator
22 Aug, 2023Works