Package com.morpheusdata.core
Interface MorpheusFileCopyService
public interface MorpheusFileCopyService
-
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<ServiceResponse>
copyToServer
(ComputeServer server, String fileName, String filePath, InputStream sourceStream, Long contentLength) Copy a file to the target server.
-
Method Details
-
copyToServer
io.reactivex.rxjava3.core.Single<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
-