以下关于FTP和TFTP的描述中,正确的是
【答案】:CFTP基于传输层TCP协议,其端口号为控制连接21,数据连接20。TFTP基于传输层UDP,其端口号为69。
绛旓細涓昏繘绋嬫帴鏀惰繛鎺ヨ姹傦紝鍚姩浠庡睘杩涚▼澶勭悊璇锋眰銆侳TP浼犺緭浣跨敤鎺у埗杩炴帴銆佹暟鎹繛鎺ワ紝鎺у埗淇℃伅甯﹀浼犺緭锛岄傚悎澶勭悊鏂囦欢涓嶅吋瀹规ч棶棰樸傛帶鍒惰繛鎺ヨ礋璐f帴鏀惰姹傦紝鏁版嵁杩炴帴浼犺緭鏂囦欢鏁版嵁銆侳TP骞堕潪瀵规墍鏈夋暟鎹紶杈撴渶浣抽夋嫨锛屽浼犺緭澶ч噺鏁版嵁鑰岄潪鍒╃敤鏁版嵁鏃讹紝鏇撮珮鏁堣В鍐虫柟妗堝彲閲囩敤濡侼FS绛夊崗璁TFTP鏄彟涓绠鍗曞崗璁紝閫傜敤浜嶶DP鐜锛...
绛旓細??FTP is complete锛宱riented session-锛実eneral purpose file transfer protocol銆TFTP is used as bare-bones special purpose file transfer protocol銆??鍙互浠ヤ氦浜掓柟寮忎娇鐢 FTP銆俆FTP 鍏佽鏂囦欢鍙兘鍗曞悜鐨勪紶閫併??FTP depends on TCP锛宨s connection oriented锛宎nd provides reliable control銆俆FTP depends...
绛旓細涓嶈兘鍒楀嚭鐩綍锛屼笉杩涜璁よ瘉锛屼紶杈8浣嶆暟鎹傚敖绠涓嶧TP鐩告瘮TFTP鐨鍔熻兘瑕佸急寰楀锛屼絾鏄疶FTP鍏锋湁涓や釜浼樼偣锛1)TFTP鑳藉鐢ㄤ簬閭d簺鏈塙DP鑰屾棤TCP鐨勭幆澧冦2)TFTP浠g爜鎵鍗犵殑鍐呭瓨瑕佹瘮FTP灏忋傚敖绠¤繖涓や釜浼樼偣瀵逛簬鏅氳绠楁満鏉ヨ骞朵笉閲嶈锛屼絾鏄浜庨偅浜涗笉鍏峰纾佺洏鏉ュ瓨鍌ㄧ郴缁熻蒋浠剁殑鑷妇纭欢璁惧鏉ヨTFTP鐗瑰埆鏈夌敤銆
绛旓細TFTP鏄竴涓紶杈撴枃浠剁殑绠鍗曞崗璁紝瀹冨叾浜嶶DP鍗忚鑰屽疄鐜帮紝浣嗘槸鎴戜滑涔熶笉鑳界‘瀹氭湁浜TFTP鍗忚鏄熀浜庡叾瀹冧紶杈撳崗璁畬鎴愮殑銆傛鍗忚璁捐鐨勬椂鍊欐槸杩涜灏忔枃浠朵紶杈撶殑銆傚洜姝ゅ畠涓嶅叿澶囬氬父鐨FTP鐨璁稿鍔熻兘锛屽畠鍙兘浠庢枃浠舵湇鍔″櫒涓婅幏寰楁垨鍐欏叆鏂囦欢锛屼笉鑳藉垪鍑虹洰褰曪紝涓嶈繘琛岃璇侊紝瀹冧紶杈8浣嶆暟鎹備紶杈撲腑鏈変笁绉嶆ā寮忥細netascii锛岃繖...
绛旓細TFTP鏄畝鍗鏂囦欢浼犺緭鍗忚锛屾槸鐢ㄤ簬鍦ㄨ繙绔湇鍔″櫒鍜屾湰鍦颁富鏈轰箣闂 浼犺緭鏂囦欢鐨勶紝鐩稿浜嶧TP锛孴FTP 娌℃湁澶嶆潅鐨勪氦浜掑瓨鍙栨帴鍙e拰璁よ瘉鎺у埗锛岄傜敤浜庡鎴风鍜屾湇鍔″櫒涔 闂翠笉闇瑕佸鏉備氦浜掔殑鐜銆俆FTP 鍗忚鐨勮繍琛屽熀浜嶶DP 鍗忚銆 TFTP 浼犺緭璇锋眰鏄敱瀹㈡埛绔彂璧风殑 褰 TFTP 瀹㈡埛绔渶瑕佷粠鏈嶅姟鍣ㄤ笅杞芥枃浠舵椂...
绛旓細TFTP 鐨浼樼偣鏄紝瀹冮潪甯哥畝鍗曪紝鏄撲簬鎿嶄綔鍜屽疄鐜般涓 FTP锛鏂囦欢浼犺緭鍗忚锛夌浉姣旓紝TFTP 姣旇緝杞讳究锛屼笉闇瑕佸儚 FTP 涓鏍风殑澶ч噺鐨勬暟鎹寘鍜屽鏉傜殑鎻℃墜杩囩▼銆俆FTP 浠呮敮鎸佺畝鍗曠殑缃戠粶浜や簰锛屽洜姝ゅ畠鍙互蹇熷湴灏嗘枃浠朵粠鏈嶅姟鍣ㄤ紶杈撳埌瀹㈡埛绔傚鏋滄偍鍙渶瑕佷紶杈撳皬鏂囦欢鎴栭渶瑕佽繘琛岃嚜鍔ㄦ枃浠朵紶杈擄紝鍒 TFTP 鍙互鏄竴涓悊鎯崇殑閫夋嫨銆
绛旓細TFTP鏄竴涓紶杈撴枃浠剁殑绠鍗曞崗璁紝瀹冨叾浜嶶DP鍗忚鑰屽疄鐜帮紝浣嗘槸鎴戜滑涔熶笉鑳界‘瀹氭湁浜TFTP鍗忚鏄熀浜庡叾瀹冧紶杈撳崗璁畬鎴愮殑銆傛鍗忚璁捐鐨勬椂鍊欐槸杩涜灏忔枃浠朵紶杈撶殑銆傚洜姝ゅ畠涓嶅叿澶囬氬父鐨FTP鐨璁稿鍔熻兘锛屽畠鍙兘浠庢枃浠舵湇鍔″櫒涓婅幏寰楁垨鍐欏叆鏂囦欢锛屼笉鑳藉垪鍑虹洰褰曪紝涓嶈繘琛岃璇侊紝瀹冧紶杈8浣嶆暟鎹備紶杈撲腑鏈変笁绉嶆ā寮忥細netascii锛岃繖...
绛旓細鍦 UNIX/Linux 绯荤粺涓紝ftp 鏄鏂囦欢浼犺緭鍗忚锛坒ile transfer protocol锛夌殑缂╁啓锛屼富瑕佺敤浜 FTP 鏈嶅姟鍣ㄤ笂鐨勫崗璁紱http 鏄秴鏂囨湰浼犺緭鍗忚锛圚yperText Transfer Protocol锛夌殑缂╁啓锛屼富瑕佺敤浜庤闂悇绉嶇綉绔欙紱tftp 鏄畝鍗曟枃浠朵紶杈撳崗璁紙Trivial File Transfer Protocol锛夌殑缂╁啓锛屽畠鐢ㄦ潵鎻愪緵涓嶅鏉傘佸紑閿涓嶅ぇ鐨勬枃浠朵紶杈...
绛旓細浜や簰浣跨敤 FTP銆 TFTP 鍏佽浠呭崟鍚戜紶杈撶殑鏂囦欢銆侳TP 鎻愪緵韬唤楠岃瘉銆傝孴FTP 涓嶃侳TP 浣跨敤宸茬煡 TCP 绔彛鍙凤細 20 鐨勬暟鎹拰 21 鐢ㄤ簬杩炴帴瀵硅瘽妗嗐 TFTP 鐢ㄤ簬 UDP 绔彛鍙 69 鍏舵枃浠朵紶杈撴椿鍔ㄣ傚洜涓 TFTP 涓嶆敮鎸侀獙璇 WindowsNT 锛屾墍浠FTP 鏈嶅姟鍣ㄦ湇鍔′笉鏀寔 TFTP銆侳TP 渚濊禆浜 TCP锛屾槸闈㈠悜杩炴帴骞舵彁渚涘彲闈犵殑鎺т欢...
绛旓細(16)浠ヤ笅鍏充簬TCP/IP鍗忚鐨勬弿杩涓紝___鏄敊璇殑銆侫)FTP銆丼MTP浠ュ強HTTP渚濊禆TCP鍗忚 B)SNMP銆TFTP渚濊禆TCP鍗忚 C)DNS鍙互浣跨敤TCP鍗忚锛屽張鍙互浣跨敤UDP鍗忚 D)TCP/IP鍗忚鏄爣鍑嗗寲鍗忚锛屽彲浠ユ彁渚涘绉嶅彲闈犵殑鐢ㄦ埛鏈嶅姟 绛旀锛欱 鐭ヨ瘑鐐癸細TCP/IP鍙傝冩ā鍨 璇勬瀽锛歍CP/IP鍗忚鏄爣鍑嗗寲鍗忚锛屽彲浠ユ彁渚涘绉嶅彲闈犵殑鐢ㄦ埛...