diff --git a/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/FileHandler.java b/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/FileHandler.java index b71b946c4..9951e1238 100644 --- a/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/FileHandler.java +++ b/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/FileHandler.java @@ -48,15 +48,6 @@ public abstract class FileHandler implements IFileHandler { */ Command copyCommand; - /** - * The ConnectionConfiguration associated with the source file - */ - ConnectionConfiguration sourceConfiguration; - - /** - * The ConnectionConfiguration associated with the destination file - */ - ConnectionConfiguration destinationConfiguration; /** * A status member variable that indicates the status of the file transfer. See @@ -191,6 +182,8 @@ protected CommandStatus executeCopy(final String destination) { * @return - CommandStatus indicating whether or not the transfer completed successfully */ protected CommandStatus executeMove(final String destination) { + + // Execute the file transfer transferStatus = moveCommand.execute(); diff --git a/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/LocalFileHandler.java b/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/LocalFileHandler.java index 905d02289..3eb1ba201 100644 --- a/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/LocalFileHandler.java +++ b/org.eclipse.ice.commands/src/main/java/org/eclipse/ice/commands/LocalFileHandler.java @@ -47,6 +47,7 @@ public CommandStatus move(final String source, final String destination) throws // Check the file existence. If they don't exist, an exception is thrown checkExistence(source, destination); + // Execute and process the file transfer transferStatus = executeMove(destination);