Interface MorpheusSynchronousFileCopyService


public interface MorpheusSynchronousFileCopyService
  • Method Details

    • copyToServer

      ServiceResponse copyToServer(ComputeServer server, String fileName, String filePath, InputStream sourceStream, Long contentLength)
      Copy a file to the target server.
      Parameters:
      server - The target server
      fileName - name of the copied file
      filePath - path on the server to place the file copy.
      sourceStream - source InputStream to copy to the server
      contentLength - size of the file to be copied
      Returns:
      ServiceResponse containing the success status of the copy operation