From 537b651c973c74c451ad941791c5610911718cad Mon Sep 17 00:00:00 2001 From: ulrich Date: Thu, 14 Nov 2024 11:07:08 +0000 Subject: [PATCH] Aenderungen an fm eingebaut --- src/de/uhilger/neon/fm/FileManipulator.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/de/uhilger/neon/fm/FileManipulator.java b/src/de/uhilger/neon/fm/FileManipulator.java index 1026507..88bdedd 100644 --- a/src/de/uhilger/neon/fm/FileManipulator.java +++ b/src/de/uhilger/neon/fm/FileManipulator.java @@ -65,7 +65,7 @@ switch (params[0]) { case P_RENAME: h.inspectFileName(params[1]); - String neuerDateiName = new Renamer().umbenennen(exchange, fileName, params[1], file); + String neuerDateiName = new Renamer().rename(/*fileName, */params[1], file); antwort(exchange, HttpResponder.SC_OK, neuerDateiName); break; case P_COPY: @@ -84,12 +84,12 @@ } break; case P_ZIP: - String path = exchange.getRequestURI().toString(); - zipAntwort(exchange, new Deflator().packFolder(fileName, path, base)); + //String path = exchange.getRequestURI().toString(); + zipAntwort(exchange, new Deflator().packFolder(fileName, /*path, */base)); break; case P_UNZIP: - path = exchange.getRequestURI().toString(); - zipAntwort(exchange, new Inflator().extractZipfile(fileName, path, base)); + //String path = exchange.getRequestURI().toString(); + zipAntwort(exchange, new Inflator().extractZipfile(fileName, /*path,*/ base)); break; default: antwort(exchange, HttpResponder.SC_NOT_FOUND, "ungueltige Anfrage"); -- Gitblit v1.9.3