cancel
Showing results for 
Search instead for 
Did you mean: 

File download from XS

Former Member
0 Kudos

Hi all,

I'd like to make a file in the file system available to the outside, preferably on the 80 port. As this is being used by the XS server (and XS already can serve http requests), I'd prefer to use XS for it. And the file is being frequently changed by cron, so I don't want to include it in the XS project. All examples so far can only serve dynamic files from inside an XS project but it is not clear if XS can simply return files in the file system just like apache does, is that possible? Or is there something like FileDownloader, as opposed to FileUploader in SAPUI5?

Cheers,

-- Micha

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

No there is no API in XSJS or SQLScript which will give you access to the underlying OS file system. If you want to serve out content from HANA it needs to be stored in the database or the Repository.

Answers (0)