Interface MorpheusSynchronousFileCopyService
public interface MorpheusSynchronousFileCopyService
-
Method Summary
Modifier and TypeMethodDescriptioncopyToServer
(ComputeServer server, String fileName, String filePath, InputStream sourceStream, Long contentLength) Copy a file to the target server.
-
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 serverfileName
- name of the copied filefilePath
- path on the server to place the file copy.sourceStream
- sourceInputStream
to copy to the servercontentLength
- size of the file to be copied- Returns:
ServiceResponse
containing the success status of the copy operation
-