Search code examples
lotus-noteswgetlotusscript

Creating wget in Domino


I am trying to implement a feature that returns a zip file upon calling an agent on Domino system. So domino is the webserver that returns a zip file.

A 3rd party app would use something like a wget statement to call a domino based system url and they would get a zip file.

Does anyone have an existing implementation of this kind of an idea where we can share thoughts on that or suggestions are welcome.

Thanks in advance.


Solution

  • Just store the zip file in a document in a Notes database on the server. The URL will be of the form:

     www.yourHost.com/your Path/yourDatabase.nsf/viewUNID/docUNID/$File/yourFilename.zip
    

    Use whatever tool you want to retrieve it.

    (This assumes, of course, that the server has been properly set up to support HTTP.)