diff --git a/bin/ArcadeReader$1.class b/bin/ArcadeReader$1.class deleted file mode 100644 index bac1e40..0000000 Binary files a/bin/ArcadeReader$1.class and /dev/null differ diff --git a/bin/ArcadeReader.class b/bin/ArcadeReader.class deleted file mode 100644 index 8dbaea3..0000000 Binary files a/bin/ArcadeReader.class and /dev/null differ diff --git a/bin/exceptions/FailedResponseException.class b/bin/exceptions/FailedResponseException.class deleted file mode 100644 index e9ea91c..0000000 Binary files a/bin/exceptions/FailedResponseException.class and /dev/null differ diff --git a/bin/readers/Box.class b/bin/readers/Box.class deleted file mode 100644 index 688a3b7..0000000 Binary files a/bin/readers/Box.class and /dev/null differ diff --git a/bin/readers/ColorRange.class b/bin/readers/ColorRange.class deleted file mode 100644 index ea03060..0000000 Binary files a/bin/readers/ColorRange.class and /dev/null differ diff --git a/bin/readers/DDRReader.class b/bin/readers/DDRReader.class deleted file mode 100644 index 35c712c..0000000 Binary files a/bin/readers/DDRReader.class and /dev/null differ diff --git a/bin/readers/ITGReader.class b/bin/readers/ITGReader.class deleted file mode 100644 index a9d8310..0000000 Binary files a/bin/readers/ITGReader.class and /dev/null differ diff --git a/bin/readers/LoveLiveReader.class b/bin/readers/LoveLiveReader.class deleted file mode 100644 index 1049d3b..0000000 Binary files a/bin/readers/LoveLiveReader.class and /dev/null differ diff --git a/bin/readers/PopnReader.class b/bin/readers/PopnReader.class deleted file mode 100644 index 7ff3ecc..0000000 Binary files a/bin/readers/PopnReader.class and /dev/null differ diff --git a/bin/readers/Reader.class b/bin/readers/Reader.class deleted file mode 100644 index 1cda8d2..0000000 Binary files a/bin/readers/Reader.class and /dev/null differ diff --git a/bin/readers/SoundVoltexReader.class b/bin/readers/SoundVoltexReader.class deleted file mode 100644 index 798d4a7..0000000 Binary files a/bin/readers/SoundVoltexReader.class and /dev/null differ diff --git a/bin/readers/TestReader.class b/bin/readers/TestReader.class deleted file mode 100644 index 98c63d7..0000000 Binary files a/bin/readers/TestReader.class and /dev/null differ diff --git a/bin/readers/fonts/Font.class b/bin/readers/fonts/Font.class deleted file mode 100644 index 719dddd..0000000 Binary files a/bin/readers/fonts/Font.class and /dev/null differ diff --git a/bin/readers/fonts/Glyph.class b/bin/readers/fonts/Glyph.class deleted file mode 100644 index 0d272bc..0000000 Binary files a/bin/readers/fonts/Glyph.class and /dev/null differ diff --git a/bin/requests/GETRequest$1.class b/bin/requests/GETRequest$1.class deleted file mode 100644 index e1d5f75..0000000 Binary files a/bin/requests/GETRequest$1.class and /dev/null differ diff --git a/bin/requests/GETRequest.class b/bin/requests/GETRequest.class deleted file mode 100644 index 228f223..0000000 Binary files a/bin/requests/GETRequest.class and /dev/null differ diff --git a/bin/requests/MultipartUtility.class b/bin/requests/MultipartUtility.class deleted file mode 100644 index f37d75a..0000000 Binary files a/bin/requests/MultipartUtility.class and /dev/null differ diff --git a/bin/requests/POSTRequest$1.class b/bin/requests/POSTRequest$1.class deleted file mode 100644 index ffe8468..0000000 Binary files a/bin/requests/POSTRequest$1.class and /dev/null differ diff --git a/bin/requests/POSTRequest.class b/bin/requests/POSTRequest.class deleted file mode 100644 index 9fb080b..0000000 Binary files a/bin/requests/POSTRequest.class and /dev/null differ diff --git a/bin/sigPlace.class b/bin/sigPlace.class deleted file mode 100644 index ff9b100..0000000 Binary files a/bin/sigPlace.class and /dev/null differ diff --git a/bin/sigServer.class b/bin/sigServer.class deleted file mode 100644 index 569748a..0000000 Binary files a/bin/sigServer.class and /dev/null differ diff --git a/out/DIRECTORY_LISTING b/out/DIRECTORY_LISTING index c7ffb46..f3c3f2a 100644 --- a/out/DIRECTORY_LISTING +++ b/out/DIRECTORY_LISTING @@ -16,15 +16,15 @@ -

Directory Listing for /

📁.. (Previous Directory)
🗎reset.css 2022-08-20T17:25:47.863330702Z niconiconii 1092
-
📁articles 2022-08-20T17:25:48.359324585Z niconiconii 4096
-
🗎uploadform.html 2022-08-20T17:25:48.291325424Z niconiconii 1863
-
🗎error.html 2022-08-20T17:25:48.291325424Z niconiconii 1828
-
🗎sig.css 2022-08-20T17:25:48.279325571Z niconiconii 11140
-
🗎testfile.html 2022-08-20T17:25:48.291325424Z niconiconii 1783
-
🗎otherpage.html 2022-08-20T17:25:48.307325226Z niconiconii 88526
-
📁images 2022-08-20T17:25:48.355324635Z niconiconii 4096
-
🗎codeBackground 2022-08-20T17:25:48.287325473Z niconiconii 2635
+

Directory Listing for /

📁.. (Previous Directory)
🗎reset.css 2022-08-20T18:02:27.471966018Z niconiconii 1092
+
📁articles 2022-08-20T18:02:27.975957114Z niconiconii 4096
+
🗎uploadform.html 2022-08-20T18:02:27.883958739Z niconiconii 1863
+
🗎error.html 2022-08-20T18:02:27.883958739Z niconiconii 1828
+
🗎sig.css 2022-08-20T18:02:27.863959093Z niconiconii 11140
+
🗎testfile.html 2022-08-20T18:02:27.887958669Z niconiconii 1783
+
🗎otherpage.html 2022-08-20T18:02:27.903958386Z niconiconii 88526
+
📁images 2022-08-20T18:02:27.971957184Z niconiconii 4096
+
🗎codeBackground 2022-08-20T18:02:27.875958881Z niconiconii 2635
diff --git a/out/articles/DIRECTORY_LISTING b/out/articles/DIRECTORY_LISTING index 37a0e99..004381f 100644 --- a/out/articles/DIRECTORY_LISTING +++ b/out/articles/DIRECTORY_LISTING @@ -16,13 +16,13 @@ -

Directory Listing for /articles/

📁.. (Previous Directory)
🗎sigplace1.article 2022-08-20T17:25:48.259325819Z niconiconii 80858
-
🗎Love Live! Custom Arcade Controller.article.html 2022-08-20T17:25:48.347324733Z niconiconii 10444
-
🗎sigplace1.article.html 2022-08-20T17:25:48.32732498Z niconiconii 90753
-
🗎curabitur vel tempus ex.article 2022-08-20T17:25:48.259325819Z niconiconii 730
-
📁test articles 2022-08-20T17:25:48.343324783Z niconiconii 4096
-
🗎curabitur vel tempus ex.article.html 2022-08-20T17:25:48.33132493Z niconiconii 10653
-
🗎Love Live! Custom Arcade Controller.article 2022-08-20T17:25:48.263325769Z niconiconii 497
+

Directory Listing for /articles/

📁.. (Previous Directory)
🗎sigplace1.article 2022-08-20T18:02:27.823959799Z niconiconii 80858
+
🗎Love Live! Custom Arcade Controller.article.html 2022-08-20T18:02:27.963957326Z niconiconii 10444
+
🗎sigplace1.article.html 2022-08-20T18:02:27.927957962Z niconiconii 90753
+
🗎curabitur vel tempus ex.article 2022-08-20T18:02:27.823959799Z niconiconii 730
+
📁test articles 2022-08-20T18:02:27.959957396Z niconiconii 4096
+
🗎curabitur vel tempus ex.article.html 2022-08-20T18:02:27.935957821Z niconiconii 10653
+
🗎Love Live! Custom Arcade Controller.article 2022-08-20T18:02:27.831959658Z niconiconii 497
diff --git a/out/articles/test articles/DIRECTORY_LISTING b/out/articles/test articles/DIRECTORY_LISTING index f19772c..e160242 100644 --- a/out/articles/test articles/DIRECTORY_LISTING +++ b/out/articles/test articles/DIRECTORY_LISTING @@ -16,12 +16,12 @@ -

Directory Listing for /articles/test articles/

📁.. (Previous Directory)
🗎test3.article 2022-08-20T17:25:48.263325769Z niconiconii 994
-
🗎test2.article 2022-08-20T17:25:48.263325769Z niconiconii 781
-
🗎test2.article.html 2022-08-20T17:25:48.339324832Z niconiconii 10668
-
🗎test3.article.html 2022-08-20T17:25:48.335324882Z niconiconii 10881
-
🗎test1.article.html 2022-08-20T17:25:48.343324783Z niconiconii 10972
-
🗎test1.article 2022-08-20T17:25:48.263325769Z niconiconii 1085
+

Directory Listing for /articles/test articles/

📁.. (Previous Directory)
🗎test3.article 2022-08-20T18:02:27.827959728Z niconiconii 994
+
🗎test2.article 2022-08-20T18:02:27.827959728Z niconiconii 781
+
🗎test2.article.html 2022-08-20T18:02:27.951957538Z niconiconii 10668
+
🗎test3.article.html 2022-08-20T18:02:27.943957679Z niconiconii 10881
+
🗎test1.article.html 2022-08-20T18:02:27.959957396Z niconiconii 10972
+
🗎test1.article 2022-08-20T18:02:27.831959658Z niconiconii 1085
diff --git a/out/uploads/upload.png b/out/uploads/upload.png new file mode 100644 index 0000000..ad26e05 Binary files /dev/null and b/out/uploads/upload.png differ diff --git a/sigServer.java b/sigServer.java index ce4b90b..0405c71 100644 --- a/sigServer.java +++ b/sigServer.java @@ -154,21 +154,22 @@ public class sigServer { filename=null; } } - } - if (line.contains("Content-Length: ")) { - expectedDataLength=Integer.parseInt(line.substring("Content-Length: ".length())); - System.out.println("Expecting a length of "+expectedDataLength); - } - if (line.contains("Content-Type:")) { - if (line.contains("Content-Type: multipart/form-data; boundary=")) { - boundary="--"+line.substring("Content-Type: multipart/form-data; boundary=".length()); - } else - if (line.contains("application/json")){ - isApplication=true; - System.out.println("Application request detected."); - //Keep going for now. - } else { - break; //Incompatible type. + } else { + if (line.contains("Content-Length: ")) { + expectedDataLength=Integer.parseInt(line.substring("Content-Length: ".length())); + System.out.println("Expecting a length of "+expectedDataLength); + } + if (line.contains("Content-Type:")) { + if (line.contains("Content-Type: multipart/form-data; boundary=")) { + boundary="--"+line.substring("Content-Type: multipart/form-data; boundary=".length()); + } else + if (line.contains("application/json")){ + isApplication=true; + System.out.println("Application request detected."); + //Keep going for now. + } else { + break; //Incompatible type. + } } } } else