public String getMessages(String file){
		StringBuffer messages = new StringBuffer(20000000);
		int i =0;
		try{
			InputStream in = ftp.downloadStream(fileRep+file);
			try {
				int ch = 0;
				while ((ch = in.read()) >= 0) {
					messages.append((char)ch);
					i++;
				}
			}
			finally {
				in.close(); // MUST be closed to complete the transfer
			}
			System.out.println("taille fichier" +i);
		}
		catch(Exception e){

		}
		return messages.toString();
	}