Skip to content
Snippets Groups Projects
Commit b9f71837 authored by tonschnoer's avatar tonschnoer
Browse files

update

parent 372fb53f
Branches
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ public class Config {
Configurations c = new Configurations();
INIConfiguration ic = c.ini("MediaBackup.ini");
SubnodeConfiguration general = ic.getSection("general");
SubnodeConfiguration files = ic.getSection("file");
SubnodeConfiguration files = ic.getSection("files");
SubnodeConfiguration schedule = ic.getSection("schedule");
......
......@@ -2,7 +2,6 @@ package de.kmt.ndr;
import java.io.DataOutputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.Socket;
......@@ -35,6 +34,7 @@ public class TCPClient {
while (true) {
// request file from server
System.out.print("Request " + Config.file);
out.write(Config.file);
out.flush();
......
[general]
listenerport = 4000
serverport = 12345
server = 127.0.0.1
server = 192.168.178.20
[files]
directory=E:\\Daten\\Client\\
file=herz.mp4
file=Tschernobyl.ts
[schedule]
hours=*
minutes=*
seconds=0/5
\ No newline at end of file
minutes=0/1
seconds=
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment