±Û ÆÛ¿Ã¸° ÀÌ: ÆÛ¿À±â±â°è
±Û ¿Ã¸° ³¯Â¥: Sat Mar 25 15:28:55 KST 1995
±Û Á¦¸ñ : È­ÀÏÀü¼Û¹æ¹ý(FTP»ç¿ë¹ý)1

È­ÀÏ Àü¼Û

ftp(File Trasfer Program)Àº È£½ºÆ®°£ÀÇ È­ÀÏÀ» Àü¼Û½Ã۱â À§ÇÑ ÇÁ·Î±×·¥
ÀÌ´Ù. soback°ú ring°£¿¡ È­ÀÏÀ» Àü¼Û½ÃŰ´Â ¹æ¹ýÀ» ¾Ë¾Æº¸ÀÚ. ¸ÕÀú, soback¿¡¼­
ringÀ¸·Î ftp¸¦ ÀÌ¿ëÇÏ¿© connectionÀ» »ý¼ºÇÏ¸é ´ÙÀ½°ú °°ÀÌ ftpÀÇ ¸í·É¸ðµå·Î
µé¾î°£´Ù.

+------------------------------------------------------------------------+
| % ftp ring.kotel.co.kr |
| Connected to ring.kotel.co.kr. |
| 220 ring.kotel.co.kr FTP server (SunOS 4.1) ready |
| Name (ring.kotel.co.kr:hsbyun): sonnim |
| 331 Password required for sonnim |
| Password: |
| 230 User sonnim logged in. |
| ftp> |
+------------------------------------------------------------------------+

'ftp>' ÇÁ·ÒÇÁÆ®¿¡¼­ »ç¿ëÀÚ´Â ´Ù¾çÇÑ ¸í·É¾î¸¦ ÀÔ·Â ÇÒ¼ö ÀÖÀ¾´Ï´Ù. 'dir'Àº ÇöÀç
µð·ºÅ丮¿¡ ÀÖ´Â ÆÄÀÏÀ» º¸¿©ÁØ´Ù.

+------------------------------------------------------------------------+
| ftp> dir |
| 200 PORT command successful. |
| 150 Opening ASCII mode data connection for /bin/ls. |
| total 3116 |
| drwxr-xr-x 2 7 21 512 Nov 21 1988 .forward |
| -rw-rw-r-- 1 7 11 0 Jun 23 1988 .hushlogin |
| drwxrwxr-x 2 0 21 512 Jun 4 1990 Census |
| drwxrwxr-x 2 0 120 512 Jan 8 09:36 ClariNet |
| -rw-rw-r-- 1 7 14 2018887 May 21 01:01 uumap.tar.Z |
| drwxrwxr-x 2 7 6 1024 May 11 10:58 uunet-info |
| 226 Transfer complete. |
| 5414 bytes receivedin 1.1 seconds (4.9 Kbytes/s) |
| ftp> |
+------------------------------------------------------------------------+



ÀÌÁ¦ ringÀÇ sonnimÀ̶ó´Â ID¸¦ »ç¿ëÇÏ´Â »ç¿ëÀÚÀÇ home directory¿¡ ÀÖ´Â sample
À̶ó´Â È­ÀÏÀ» sobackÀ¸·Î Àü¼ÛÇÏ´Â ¹æ¹ýÀ» ¾Ë¾Æº¸ÀÚ.

+------------------------------------------------------------------------+
| ftp> cd ~sonnim |
| 250 CWD command successful. |
| ftp> get sample |
| 200 PORT command successful. |
| 150 ASCII data connection for sample (147.6.4.65,1034)(742 bytes). |
| 226 ASCII transfer complete. |
| local: sample remote: sample |
| 742 bytes received in 0.01 seconds (75Kbytes/s) |
| ftp> |
+------------------------------------------------------------------------+

¶ÇÇÑ, sobackÀÇ È­ÀÏÀ» ringÀ¸·Î Àü¼ÛÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°´Ù.

+------------------------------------------------------------------------+
| ftp> put sample |
| 200 PORT command successful. |
| 150 ASCII data connection for sample (147.6.1.2,1034)(742 bytes). |
| 226 ASCII transfer complete. |
| local: sample remote: sample |
| 742 bytes received in 0.01 seconds (75Kbytes/s) |
| ftp> |
+------------------------------------------------------------------------+

ftp ÇÁ·Î±×·¥Àº µ¿½Ã¿¡ Çϳª ÀÌ»óÀÇ È­ÀÏÀ» Àü¼Û½Ãų ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î ´ÙÀ½°ú
°°ÀÌ ftpÀÇ ¸í·É¾î ¸ðµå¿¡¼­ mget°ú mput ¸í·É¾î¸¦ »ç¿ëÇÏ¿© ".c"·Î ³¡³ª´Â ¸ðµç
È­ÀÏÀ»µé Àü¼ÛÇØ º¸ÀÚ.


+------------------------------------------------------------------------+
| ftp> mget *.c |
| mput samlpe1.c? y |
| 200 PORT command successful. |
| 150 ASCII data connection for sample1.c (147.6.4.65,1039). |
| 226 Transfer complete. |
| local: sample1.c remote: sample1.c |
| 2327 bytes sent in 0.01 seconds (75Kbytes/s) |
| mput sample2.c? y |
| 200 PORT command successful. |
| 150 ASCII data connection for sample2.c (147.6.4.65,1040). |
| 226 Transfer complete. |
| local: sample2.c remote: sample2.c |
| 2327 bytes sent in 0.01 seconds (75Kbytes/s) |
| ftp> |
+------------------------------------------------------------------------+

mput°ú mgetÀº È­ÀϵéÀ» Àü¼Û½Ãų ¶§ ¸¶´Ù Àü¼Û¿©ºÎ¸¦ È®ÀÎÇϴµ¥ À̶§ y¸¦ ÀÔ·ÂÇϸé
Àü¼ÛÀ»Çϰí y ÀÌ¿ÜÀÇ ´Ù¸¥ ¹®ÀÚ¸¦ ÀÔ·ÂÇϸé Àü¼ÛÀ» ÇÏÁö ¾Ê´Â´Ù. ±×·¯³ª »ç¿ëÀÚ°¡
¹«Á¶°Ç ¸ðµç È­ÀÏÀ» Àü¼ÛÇÏ°í ½ÍÀ¸¸é prompt ¸í·ÉÀ» »ç¿ëÇÏ¸é µÈ´Ù.

+------------------------------------------------------------------------+
| ftp> prompt off |
| Interactive mode off |
| ftp> mput *.c |
| 200 PORT command successfil. |
| 150 ASCII data connection fot sample1.c(143.248.1.2,1042) (713 bytes). |
| 226 ASCII Transfer complete. |
| local: sample1.c remote: sample1.c |
| 734 bytes transfered in 0.01 seconds (72 Kbytes/s) |
| 200 PORT command successful. |
| 150 ASCII data connection fot sample2.c(143.248.1.2,1042) (713 bytes). |
| 226 ASCII Transfer complete. |
| local: sample2.c remote: sample2.c |
| 734 bytes transfered in 0.01 seconds (72 Kbytes/s) |
| 226 ASCII Transfer complete. |
| ftp> |
+------------------------------------------------------------------------+

Àü¼ÛÇϰíÀÚ ÇÏ´Â È­ÀÏÀÇ ÇüÅ¿¡ µû¶ó¼­ ÅØ½ºÆ® È­ÀÏÀÎ °æ¿ì ASCII·Î ¶Ç´Â image
È­ÀÏÀÎ °æ¿ì¿¡´Â binary·Î ¸ðµå¸¦ º¯°æ½ÃÄÑ Àü¼ÛÇÒ ¼ö ÀÖ´Ù.

+------------------------------------------------------------------------+
| ftp> binary |
| 200 Type set to I. |
| ftp> ascii |
| 200 Type set to A. |
| ftp> |
+------------------------------------------------------------------------+

±×¿Ü¿¡ ftpÀÇ ¸í·É¾î ¸ðµå¿¡¼­ ¼öÇàµÉ ¼ö ÀÖ´Â ¸í·É¾îµéÀº ´ÙÀ½°ú °°´Ù.

+------------------------------------------------------------------------+
| ftp> help |
| Commands may be abbreviated. Commands are: |
| |
| ! cr ls prompt runique |
| $ delee macdef proxy send |
| account debug mdelete sendport status |
| append dir mdir put struct |
| ascii disconnect mget pwd sunique |
| bell form mkdir quit tenex |
| binary get mls quote trace |
| bye glob mode recv type |
| case hash mput remotehelp user |
| cd help nmap rename verbose |
| cdup image ntrans reset ? |
| close lcd open rmdir |
| ftp>quit |
| 221 Goodbye |
| % |
+------------------------------------------------------------------------+

È£½ºÆ®°£ÀÇ È­ÀÏ Àü¼ÛÀÌ ³¡³ª¸é quit³ª bye ¸í·ÉÀ» »ç¿ëÇÏ¿© ftp¸¦ Á¾·áÇÑ´Ù.



* Anonymous FTPÀÇ ÀÌ¿ë *


anonymous ftp¶õ È£½ºÆ®°£¿¡ Ưº°È÷ »ç¿ëÀÚ ¹øÈ£¸¦ °®°íÀÖÁö ¾Ê¾Æµµ À¯¿ëÇÑ Á¤º¸
¸¦ Àü¼ÛÇÒ ¼ö ÀÖ°ÔÇÏ´Â ¹æ¹ýÀ¸·Î ÀÏ¹Ý »ç¿ëÀÚµéÀÌ °ø¿ëÀ¸·Î »ç¿ëÇÒ ¼ö ÀÖ´Â
»ç¿ëÀÚ ¹øÈ£ÀÎ anonymoys¶ó´Â À̸§À¸·Î ftp¸¦ ÇÏ¸é µÈ´Ù. ÀÌ °æ¿ì password·Î´Â
ÀϹÝÀûÀ¸·Î »ç¿ëÀÚÀÇ »ç¿ëÀÚ ¹øÈ£³ª ÀüÀÚ¸ÞÀÏ ÁÖ¼Ò¸¦ ÀûÀ¸¸é µÈ´Ù. ±¹³»¿¡¼­µµ
¸î°³ÀÇ È£½ºÆ®°¡ anonymous ¼­ºñ½º¸¦ Á¦°øÇϰí Àִµ¥ ±× È£½ºÆ®µéÀÇ ¸ñ·ÏÀº
´ÙÀ½°ú °°´Ù.

han.hana.nm.kr
ring.kotel.co.kr
garam.kreonet.re.kr
ftp.kaist.ac.kr

Internet¿¡¼­ Á¢¼ÓÇÒ ¼ö ÀÖ´Â anonymous ftp°¡ °¡´ÉÇÑ È£½ºÆ®ÀÇ ¸ñ·ÏÀ» ´ã°íÀÖ´Â
È­ÀÏÀº han.hana.nm.kr¿¡ anonymous ftp·Î Á¢¼ÓÇϸé ãÀ» ¼ö ÀÖ´Ù. ´ÙÀ½Àº
soback¿¡¼­ han.hana.nm.kr¿¡ anonymous ftp¸¦ ÇÏ¿© anon.ftp.list¶ó´Â È­ÀÏÀ»
¹Þ¾Æ¿À´Â ¿¹ÀÌ´Ù.

+------------------------------------------------------------------------+
| % ftp han.hana.nm.kr |
| Connected to han.hana.nm.kr. |
| 220 han.hana.nm.kr FTP server (SunOS 4.1) ready |
| Name (ring.kotel.co.kr:hsbyun): anonymous |
| 331 Guest login ok, send ident as password. |
| Password: |
| 230 Guest login ok, access restrictions apply. |
| ftp> cd netinfo |
| 200 CWD command successful |
| ftp> get anon.ftp.list |
| 200 PORT command successful. |
| 150 ASCII data connection for anon.ftp.list (3024 bytes). |
| 226 ASCII transfer complete. |
| local: anon.ftp.list remote: anon.ftp.list |
| 3024 bytes received in 0.01 seconds (256 Kbytes/s) |
| ftp> quit |
| 221 Goodbye. |
| % |
+------------------------------------------------------------------------+


¹øÀ¸·Î     óÀ½±Û¸¶Áö¸·±Û

ÀÌÀü ±Û ´ÙÀ½ ±Û ¸ñ·Ï È­¸é º¸µå ¸ñ·Ï