Use Spring MVC MultipartFile, Java Path APIs and the browser fetch API to upload files asynchronously and save them safely on the server. See how to read an array's length, define its fixed size, ...
All the cool new programming languages, like Ruby, always have compilers/interpreters and tools for Linux, and the old UNIX standbys like Tcl/Tk are still around when you need them. Why, then, is Java ...