public class UploadRmFileTransfer extends UploadFileTransfer
UploadFileTransfer
which
deletes all files in a transfer set if the upload is
successful. This is similar to the MoveFileTransfer
but should be considered less safe since a remote copy
is involved.AbstractFileTransfer.Transfers
log
Constructor and Description |
---|
UploadRmFileTransfer() |
Modifier and Type | Method and Description |
---|---|
void |
afterTransfer(int errors,
List<String> srcFiles)
Deletes all uploaded files if there were no errors.
|
transfer
cleanupUpload, createTransfer, deleteTransferredFiles, finish, isWindows, printLine, start
public void afterTransfer(int errors, List<String> srcFiles) throws CleanupFailure
afterTransfer
in interface FileTransfer
afterTransfer
in class UploadFileTransfer
CleanupFailure
Version: 5.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.