Telnet problem


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]

±Û¾´ÀÌ :Sung Yi 2000³â 2¿ù 05ÀÏ 02:40:05

In Reply to: [Á¦¹ß µµ¿ÍÁÖ¼¼¿ä]¿ø°ÝÁöÀÇ unix¸í·É¾î¸¦ ½ÇÇàÇÏ´Â ¹æ¹ý posted by ¹ÚÁ¤È£ on 2000³â 2¿ù 03ÀÏ 09:03:31:

The telnet programming is slightly different than the FTP programming. In FTP program, you can actually send FTP server commands to the FTP server to sign on and transfer the data files back and forth.


But in telnet program, you will have to read the input stream to determine if the telnet server is waiting for the user id, password, or other UNIX commands.


That it, once you are connected to the telnet server, you wait until you get the user id prompt; "login:". Once you capture this string, you enter a user id with a carriage return. Then wait for the string; "xxxx's Password:". And so on.


Of course, you will have to have a logic to capture the password expiration, in case.





´ÙÀ½ ±Ûµé:



À̾ ±Û¿Ã¸®±â(´äÇϱâ)

À̸§:
E-Mail:
Á¦¸ñ:
³»¿ë:
HTML ÅÂ±× Æ÷ÇÔ ¿©ºÎ: HTML ¹®¼­ÀÏ °æ¿ì üũ
°ü·Ã URL(¼±ÅÃ):
URL Á¦¸ñ(¼±ÅÃ):
°ü·Ã À̹ÌÁö URL:


[ ´ÙÀ½ ±Ûµé ] [ À̾ ±Û¿Ã¸®±â(´äÇϱâ) ] [ ÀÚ¹Ù ¹¯°í ´äÇϱâ ]