@thezboe Yes! In fact you can use any protocol of your choice, even old-fashioned sockets if you wish.
By default update4j will try to download a file using standard http/s and will assume that the file is publicly available. To change this, you should implement your own UpdateHandler
and provide your own logic at openDownloadStream()
.
Once the connection was established, just return an InputStream
; do not read the file yourself in that method, leave it up for the framework.
Then install the provider into the framework by following this guide.
Runtime.getRuntime().exec()