ftp »ç¿ë¹ý
DOS â¿¡¼ ftp¶ó´Â ¸í·É¾î°¡ ÀÖÀ½.
"test.txt", "test.exe"¶ó´Â ÆÄÀÏÀ» uploadÇÏ´Â ¹æ¹ý
1. ÀÚ±â ÄÄÇ»ÅÍÀÇ DOSâ¿¡¼ "test.txt", "test.exe"ÀÌ ÀÖ´Â Æú´õ·Î À̵¿
C> a: ==> Aµå¶óÀ̺ê(µð½ºÄÏ)¿¡ ÀÖÀ» °æ¿ì
2. DOSâ¿¡¼ ftp ¸í·ÉÀ¸·Î ftp ¼¹ö¿¡ Á¢¼Ó
(»ç¿ëÀÚ: anonymous, ¾ÏÈ£: ÀÚ±âemailÁÖ¼Ò)
ftp ¼¹ö°¡ nlp.kookmin.ac.kr(210.123.40.217)ÀÏ °æ¿ì
A> ftp nlp.kookmin.ac.kr
(¶Ç´Â ftp 210.123.40.217)
UserID: anonymous
Passwd: email-id
3. Á¢¼ÓÀÌ µÇ¾úÀ¸¸é ÆÄÀÏÀ» uploadÇÒ À§Ä¡·Î À̵¿
(´ëºÎºÐÀÇ ftp ¼¹ö´Â default·Î incoming µð·ºÅ丮¿¡ upload °¡´É)
ftp> cd incoming
ftp> cd c1
[ÁÖÀÇ] 1¹ÝÀº "c1", 2¹ÝÀº "c2"À¸·Î...
ftp> pwd
(¿øÇÏ´Â À§Ä¡·Î À̵¿µÇ¾ú´ÂÁö È®ÀÎÇÏ´Â ¸í·É)
4. "ÀÚ±âÇйø.cpp" ÆÄÀÏÀ» upload
(ftp¸¦ ½ÇÇàÇÑ Æú´õ¿¡ test.txt°¡ ÀÖ¾î¾ß Çϸç,
ftp »ó¿¡¼ "!dir" ¸í·ÉÀ¸·Î È®ÀÎÇÒ ¼ö ÀÖÀ½)
ftp> !dir
ftp> put test.txt
5. ftp ³¡³»±â
ftp> bye
[Âü°í] ftp ¸í·É¾î ¼³¸í
cd, dir, !dir : DOS ¸í·É¾î¿Í °°À½
pwd : ¼¹öÀÇ ÇöÀç À§Ä¡¸¦ º¸¿©ÁÜ
get, put : 1°³ÀÇ ÆÄÀÏÀ» download(get), upload(put)
mget, mput : ÆÄÀÏÀ̸§¿¡ wildcard ¹®ÀÚ(*, ?) Çã¿ë
as, bin : upload/download½Ã¿¡ Àü¼Û ÇüÅ ÁöÁ¤
as(cii), bin(ary) ÇüÅÂ
hash : upload/download½Ã¿¡ ÁøÇà »óȲÀ» '#' ¹®ÀÚ·Î º¸¿©ÁÜ
prompt : mget, mput ½Ã¿¡ yes/no È®ÀξøÀÌ ÁøÇà