Edit C:\edeal\jobs\JOB_Olakala\lib\com\enterprisedt\net\ftp\FTPControlSocket.class
Êþº¾ .? st ´u µv ´w ´x ´y ´z ´{ ´| ´} ´~ ´ ´? ´? ´? ´? ´? ´? ´?? ´?? ????? ´???? ´???? ???? #??? ???? '?? ¡? ¢? £¤ ´¥ ´¦ ´§¨©¨ª ´« ´¬® ?¯° ?± :v :²³ =v´ =µ =¶ =· ?¸ ´¹ ´º » ¼ ½¾ =¿À Á =ÃÄ ?Å ?Æ ´ÇÈ ?É ´ÊË TÌÍÎ TÏ TÐÑ T·ÒÓ =? ´ÔÕ ´Ö×ØÙÚ ´Û ?Ü ´ÝÞ ´ßàáâÍãä ´å æ ç èé?ê sëì víî xï?ª xðñ =ò x ó ô õ ´ö÷ ´øù ¡ú ¡ûü ý ?? ¢þÿ ? ´ ?? ?v ? ? ? ? ? ?? ´ ? «? !" ?#$% cvsId Ljava/lang/String; ConstantValue& EOL CARRIAGE_RETURN B LINE_FEED MAX_ACTIVE_RETRY I d CONTROL_PORT DEBUG_ARROW PASSWORD_MESSAGE log $Lcom/enterprisedt/util/debug/Logger; strictReturnCodes Z listenOnAllInterfaces controlSock *Lcom/enterprisedt/util/proxy/StreamSocket; writer Ljava/io/Writer; reader Ljava/io/Reader; messageListener -Lcom/enterprisedt/net/ftp/FTPMessageListener; forcedActiveIP lowPort highPort nextPort encoding remoteAddr Ljava/net/InetAddress; autoPassiveIPSubstitution dataChannelCallback .Lcom/enterprisedt/net/ftp/DataChannelCallback; <init> Z(Ljava/net/InetAddress;IILjava/lang/String;Lcom/enterprisedt/net/ftp/FTPMessageListener;)V Code LineNumberTable LocalVariableTable this +Lcom/enterprisedt/net/ftp/FTPControlSocket; controlPort timeout Exceptions ?(Ljava/net/InetAddress;Lcom/enterprisedt/util/proxy/StreamSocket;ILjava/lang/String;Lcom/enterprisedt/net/ftp/FTPMessageListener;)V ex Ljava/io/IOException; 'Lcom/enterprisedt/net/ftp/FTPException; setAutoPassiveIPSubstitution (Z)V validateConnection ()V reply #Lcom/enterprisedt/net/ftp/FTPReply; validCodes [Ljava/lang/String; initStreams is Ljava/io/InputStream; os Ljava/io/OutputStream; getRemoteHostName ()Ljava/lang/String; addr setStrictReturnCodes strict setListenOnAllInterfaces listenOnAll getListenOnAllInterfaces ()Z setTimeout (I)V millis setMessageListener 0(Lcom/enterprisedt/net/ftp/FTPMessageListener;)V listener close logout e createDataSocket \(Lcom/enterprisedt/net/ftp/FTPConnectMode;)Lcom/enterprisedt/net/ftp/internal/FTPDataSocket; connectMode )Lcom/enterprisedt/net/ftp/FTPConnectMode; createDataSocketActive 3()Lcom/enterprisedt/net/ftp/internal/FTPDataSocket; range socket 1Lcom/enterprisedt/net/ftp/internal/FTPDataSocket; port Ljava/net/SocketException; count maxCount setNextAvailablePortFromRange sendPORTCommand (Ljava/net/InetAddress;I)V toUnsignedShort (B)S value toByteArray (I)[B bytes [B setDataChannelCallback 1(Lcom/enterprisedt/net/ftp/DataChannelCallback;)V callback setActivePortIPAddress (Ljava/lang/String;)V setActivePortRange (II)V lowest highest getIPAddressBytes (Ljava/lang/String;)[B !Ljava/lang/NumberFormatException; ch C i IPAddress ipbytes len partCount buf Ljava/lang/StringBuffer; setDataPort origEndpoint %Lcom/enterprisedt/net/ftp/IPEndpoint; newEndpoint host portNo hostIP hostBytes portBytes cmd createDataSocketPASV msg replyObj parts [I ipAddress useAutoPassiveIPSubstitution getPASVParts (Ljava/lang/String;)[I startIP endIP ipData newPassiveDataSocket F(Ljava/lang/String;I)Lcom/enterprisedt/net/ftp/internal/FTPDataSocket; remoteHost sock newActiveDataSocket 4(I)Lcom/enterprisedt/net/ftp/internal/FTPDataSocket; Ljava/net/ServerSocket; activeSock 7Lcom/enterprisedt/net/ftp/internal/FTPActiveDataSocket; sendCommand 7(Ljava/lang/String;)Lcom/enterprisedt/net/ftp/FTPReply; command writeCommand readLine current str err readReply %()Lcom/enterprisedt/net/ftp/FTPReply; complete data line replyCode dataLines Ljava/util/Vector; validateReply I(Ljava/lang/String;Ljava/lang/String;)Lcom/enterprisedt/net/ftp/FTPReply; expectedReplyCode J(Ljava/lang/String;[Ljava/lang/String;)Lcom/enterprisedt/net/ftp/FTPReply; expectedReplyCodes [(Lcom/enterprisedt/net/ftp/FTPReply;[Ljava/lang/String;)Lcom/enterprisedt/net/ftp/FTPReply; Z(Lcom/enterprisedt/net/ftp/FTPReply;Ljava/lang/String;)Lcom/enterprisedt/net/ftp/FTPReply; validateReplyCode 8(Lcom/enterprisedt/net/ftp/FTPReply;Ljava/lang/String;)Z (Ljava/lang/String;Z)V <clinit> SourceFile FTPControlSocket.java'() Þ è Þ ï É Ê Ë Ê Ì Í Î Ï Ð Ñ Ò Ó Õ Á Ö Á × Á Û Ê Ü Ý Ù Ú Ø · ô ï î ï java/io/IOException Ç È #Failed to initialize control socket*+,- ï %com/enterprisedt/net/ftp/FTPException^_ java/lang/String 220 230fk./ java/io/InputStreamReader Þ012 java/io/OutputStreamWriter Þ34567 ú java/lang/IllegalStateException )Failed to set timeout - no control socket Þ&89:;<AQR=>?@5 ï java/net/SocketException 8Detected socket in use - retrying and selecting new portA& -Exhausted active port retry count - giving up java/util/RandomBC java/lang/StringBuffer Next active port will be: DEDFG úH&7 Ô ·I?JKLMNDO "Incorrectly formatted IP address: PQRS java/lang/NumberFormatExceptionT úUV (Forcing use of fixed IP for PORT commandW&+, #com/enterprisedt/net/ftp/IPEndpoint ÞXYZ[\ ú]? Changed PORT endpoint from => PORT ,VW 200 250 PASV 227fl^ úHI .G !Substituting server supplied IP ( ) with remote host IP ( )_[ Changed PASV endpoint from MN`Cabc ú Malformed PASV reply: d?(e 6com/enterprisedt/net/ftp/internal/FTPPassiveDataSocket Þf java/net/ServerSocket Þ Þg ListenOnAllInterfaces=Dh 5com/enterprisedt/net/ftp/internal/FTPActiveDataSocket ÞijkY& ---> Ço l&m ï 2com/enterprisedt/net/ftp/ControlChannelIOExceptionn úo? Read failed (' ' read so far)+& &Control channel unexpectedly closed (' <cr>Z ú Short reply received ( 0com/enterprisedt/net/ftp/MalformedReplyException ap java/util/Vector #Control channel unexpectedly closedqr stu?vw !com/enterprisedt/net/ftp/FTPReply Þx Þymn Þz [ ] Expected reply codes = Expected reply code = [{ ú 421 5com/enterprisedt/net/ftp/FTPConnectionClosedException ---> PASS|} ---> PASS ********~&?& FTPControlSocket?? )com/enterprisedt/net/ftp/FTPControlSocket java/lang/Object F@(#)$Id: FTPControlSocket.java,v 1.54 2009-10-18 23:59:30 bruceb Exp $ 'com/enterprisedt/util/proxy/PlainSocket createPlainSocket C(Ljava/net/InetAddress;II)Lcom/enterprisedt/util/proxy/PlainSocket; "com/enterprisedt/util/debug/Logger error *(Ljava/lang/String;Ljava/lang/Throwable;)V (com/enterprisedt/util/proxy/StreamSocket getInputStream ()Ljava/io/InputStream; *(Ljava/io/InputStream;Ljava/lang/String;)V getOutputStream ()Ljava/io/OutputStream; +(Ljava/io/OutputStream;Ljava/lang/String;)V getInetAddress ()Ljava/net/InetAddress; java/net/InetAddress getHostName setSoTimeout java/io/Writer java/io/Reader 'com/enterprisedt/net/ftp/FTPConnectMode ACTIVE /com/enterprisedt/net/ftp/internal/FTPDataSocket getLocalPort ()I getLocalAddress warn nextInt (I)I append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; (I)Ljava/lang/StringBuffer; toString debug length charAt (I)C java/lang/Character isDigit (C)Z (C)Ljava/lang/StringBuffer; java/lang/Integer parseInt (Ljava/lang/String;)I setLength getHostAddress getAddress ()[B info (Ljava/lang/String;I)V ,com/enterprisedt/net/ftp/DataChannelCallback onPORTCommand L(Lcom/enterprisedt/net/ftp/IPEndpoint;)Lcom/enterprisedt/net/ftp/IPEndpoint; getIPAddress getPort getReplyText onPASVResponse indexOf substring (II)Ljava/lang/String; trim getSoTimeout ?(Ljava/lang/String;II)Lcom/enterprisedt/util/proxy/PlainSocket; -(Lcom/enterprisedt/util/proxy/StreamSocket;)V (IILjava/net/InetAddress;)V (Z)Ljava/lang/StringBuffer; (Ljava/net/ServerSocket;)V setLocalAddress (Ljava/net/InetAddress;)V write flush getMessage read (I)Ljava/lang/String; equals (Ljava/lang/Object;)Z addElement (Ljava/lang/Object;)V size copyInto ([Ljava/lang/Object;)V :(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V '(Ljava/lang/String;Ljava/lang/String;)V &(Lcom/enterprisedt/net/ftp/FTPReply;)V getReplyCode startsWith (Ljava/lang/String;)Z +com/enterprisedt/net/ftp/FTPMessageListener logCommand logReply getLogger 8(Ljava/lang/String;)Lcom/enterprisedt/util/debug/Logger; ! ´ µ ¶ · ¸ ¹ º · ¸ ? » ¼ ¸ ½ ¾ ¼ ¸ ¿ À Á ¸  à Á ¸ Ä Å · ¸ ? Æ · ¸ Ç È É Ê Ë Ê Ì Í Î Ï Ð Ñ Ò Ó Ô · Õ Á Ö Á × Á Ø · Ù Ú Û Ê Ü Ý ( Þ ß à q *++¸ · ± á c e â >