public interface RemoteFileSystemManager
Modifier and Type | Method and Description |
---|---|
int |
downloadFile(java.lang.String localFilePath,
java.lang.String remoteFilePath,
boolean shouldOverrideLocalFile)
Download the specified file (remoteFilePath) from remote machine to probe.
|
int |
uploadFile(java.lang.String localFilePath,
java.lang.String remoteFilePath,
boolean shouldOverrideRemoteFile)
Upload the specified file (localFilePath) from probe's machine to remote machine
|
int uploadFile(java.lang.String localFilePath, java.lang.String remoteFilePath, boolean shouldOverrideRemoteFile) throws java.lang.Exception
localFilePath
- - the path of the file to be upload from probe machineremoteFilePath
- - the path of the uploaded file on remote machineshouldOverrideRemoteFile
- - what to do if the file on remote machine already exists.
True will cause to override the file on remote machine, false will cause to not to upload the file if it already
exists.java.lang.Exception
- - exception is thrown in case the upload failed.int downloadFile(java.lang.String localFilePath, java.lang.String remoteFilePath, boolean shouldOverrideLocalFile) throws java.lang.Exception
localFilePath
- - defines the name of downloaded file on probe's machine.remoteFilePath
- - the path of the downloaded file on remote machine.shouldOverrideLocalFile
- - defines behavior if the localFilePath already exists on probe machine.
True to override already existing local file with the downloaded file. False to not to perform download if the
localFilePath already exists.java.lang.Exception
- - exception is thrown in case of download failed.Documentation Feedback
Copyright 2012 Micro Focus or one of its affiliates.