public class CopyFileTransfer extends AbstractExecFileTransfer
AbstractFileTransfer.Transfers
log
Constructor and Description |
---|
CopyFileTransfer() |
Modifier and Type | Method and Description |
---|---|
void |
afterTransfer(int errors,
List<String> srcFiles)
No cleanup action is taken.
|
protected ProcessBuilder |
createProcessBuilder(File file,
File location)
Executes "cp file location" (Unix) or "cp file location" (Windows)
and fails on non-0 return codes.
|
checkLocation, checkTarget, exec, failLocationCheck, getLocalLocation, printLine, transfer
cleanupUpload, createTransfer, deleteTransferredFiles, finish, isWindows, start
protected ProcessBuilder createProcessBuilder(File file, File location)
createProcessBuilder
in class AbstractExecFileTransfer
file
- File to be copiedlocation
- Location to copy to.IOException
public void afterTransfer(int errors, List<String> srcFiles) throws CleanupFailure
CleanupFailure
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.