Interface FileRESTService


  • public interface FileRESTService

    Service interface for file operations via REST

    Copyright 2018 (C) by Martin Ganserer

    Version:
    1.0.0
    Author:
    Martin Ganserer
    • Method Detail

      • downloadFile

        void downloadFile​(String pathOnServer,
                          File targetFile)
                   throws IOException
        Download a file
        Parameters:
        pathOnServer - the fully qualified path of the file on the remote system
        targetFile - the local target file
        Throws:
        IOException - if the download operation has failed