public boolean listFilesServer(String pathname) throws IOException
    {
        output.writeInt(3);
        output.writeUTF(pathname);
        output.flush();
        
        ArrayList<String> listeFichiers = new ArrayList<String>();
        try {
            ObjectInputStream objectInput = new ObjectInputStream(clt.getInputStream());
            try {
                Object object = objectInput.readObject();
                listeFichiers =  (ArrayList<String>) object;
	            for(int i=0;i<listeFichiers.size();i++) {
	                System.out.println(listeFichiers.get(i));
	            	this.ecrireFichier(logPath+"\\log.txt", listeFichiers.get(i)+"\n");
	            }
            } catch (ClassNotFoundException e) {
                System.out.println("The list has not come from the server");
                e.printStackTrace();
            }
        } catch (IOException e) {
            System.out.println("The socket for reading the object has problem");
            e.printStackTrace();
        }      
        return receptionConfirmation();
    }