diff --git a/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java b/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
index <HASH>..<HASH> 100644
--- a/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
+++ b/src/main/java/hudson/plugins/sshslaves/SSHLauncher.java
@@ -592,7 +592,15 @@ public class SSHLauncher extends ComputerLauncher {
                     sftpClient = new SFTPv3Client(connection);

                     sftpClient.rm(fileName);

                 } catch (Exception e) {

-                    e.printStackTrace(listener.error(Messages.SSHLauncher_ErrorDeletingFile(getTimestamp())));

+                    if (sftpClient == null) {// system without SFTP

+                        try {

+                            connection.exec("rm " + fileName, listener.getLogger());

+                        } catch (Exception x) {

+                            x.printStackTrace(listener.error(Messages.SSHLauncher_ErrorDeletingFile(getTimestamp())));

+                        }

+                    } else {

+                        e.printStackTrace(listener.error(Messages.SSHLauncher_ErrorDeletingFile(getTimestamp())));

+                    }

                 } finally {

                     if (sftpClient != null) {

                         sftpClient.close();
[FIXED HUDSON-<I>] fallback if SFTP is not available.