| | |
| | | import com.sun.net.httpserver.HttpExchange; |
| | | import de.uhilger.neon.FileServer; |
| | | import de.uhilger.neon.HttpResponder; |
| | | import de.uhilger.fm.Const; |
| | | import de.uhilger.fm.Duplicator; |
| | | import de.uhilger.fm.Mover; |
| | | import de.uhilger.fm.Renamer; |
| | |
| | | break; |
| | | case P_COPY: |
| | | h.inspectFileName(params[1]); |
| | | copyOrMove(exchange, params[1], fileName, Const.OP_COPY); |
| | | copyOrMove(exchange, params[1], fileName, Mover.OP_COPY); |
| | | break; |
| | | case P_MOVE: |
| | | h.inspectFileName(params[1]); |
| | | copyOrMove(exchange, params[1], fileName, Const.OP_MOVE); |
| | | copyOrMove(exchange, params[1], fileName, Mover.OP_MOVE); |
| | | break; |
| | | case P_DUPLICATE: |
| | | if (Boolean.parseBoolean(params[1])) { |