public void retr ( String arg ) throws IOException { String msg ; if ( arg . equals ( "1" ) ) msg = msg1 ; else msg = msg2 ; this . println ( "+OK " + msg . length ( ) + " octets" ) ; this . writer . write ( msg ) ; this . println ( "." ) ; }
RETR command .