public void readPasvAnswer() throws PassivModeException {
		while (true) {									// endless loop
			try {										// if any byte is available (start)
				int counter;
				if ((counter = msgSocket.getSocketInput().available()) != 0) {
					int buffersize = msgSocket.getSocketInput().available();
					char buffer[] = new char[buffersize];
					// read bytes till 0 byte are available (end)
					while ((counter = msgSocket.getSocketInput().available()) != 0) {
						int count = 0;
						count = msgSocket.input().read(buffer, 0, buffersize);
						System.out.println("< Server: ");
						String fromServer = new String(buffer, 0, count);
						System.out.println(fromServer);
						
						analysePASVstring(fromServer);
					}
					try {
						Thread.sleep(100);
						break;
					} catch (InterruptedException e) {
						// TODO Auto-generated catch block
						e.printStackTrace();
					}
					
				}
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
			
		}

	}