Loud Things
Go to the website https://www.loudthings.org/

Create client httpost that send a multipartfile with namefile

Thi is a simple code to create a client that send a multipart file with a specific name this client has got a header with username:password in base64 :                      String filename = “nome del file “;                     String percorsoFile =”file to download  “;                     String url = “server https/http”;                     String returned = […]

Read More »

ServerSocket

Calss Socket : public Socket(int portNumber) throws Exception{              try {                         ServerSocket serverSocket = new ServerSocket(portNumber);                         java.net.Socket clientSocket = serverSocket.accept();                         PrintWriter out = new PrintWriter(clientSocket.getOutputStream(), true);                         BufferedReader in = new BufferedReader(                                 […]

Read More »

Java

Java is a general-purpose computer programming language that is concurrent, class-based, object-oriented,and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers “write once, run anywhere” (WORA),meaning that compiled Java code can run on all platforms that support Java without the need for recompilation. Java applications are typically compiled […]

Read More »

Show Buttons
Hide Buttons