日期:2014-05-16  浏览次数:20811 次

Linux FTP鍛戒护璇﹁В鍙婁娇鐢ㄦ妧宸?.

Linux FTP鍛戒护璇﹁В鍙婁娇鐢ㄦ妧宸?.

%ftp 涓绘満鍚?IP聽 /*鐧诲綍ftp鏈嶅姟鍣紝浼氭彁绀鸿緭鍏ョ敤鎴峰悕鍜屽瘑鐮?/

鍖垮悕鐧诲綍锛氱敤鎴峰悕杈撳叆锛歛nonymous聽 瀵嗙爜杈撳叆锛氫竴涓偖绠辨牸寮忕殑浠绘剰瀛楃涓?/span>

FTP>ascii: 璁惧畾浠SCII鏂瑰紡浼犻€佹枃浠?缂虹渷鍊?
FTP>bell: 姣忓畬鎴愪竴娆℃枃浠朵紶閫?鎶ヨ鎻愮ず.
FTP>binary: 璁惧畾浠ヤ簩杩涘埗鏂瑰紡浼犻€佹枃浠?
FTP>bye: 缁堟涓绘満FTP杩涚▼,骞堕€€鍑篎TP绠$悊鏂瑰紡.
FTP>case: 褰撲负ON鏃?鐢∕GET鍛戒护鎷疯礉鐨勬枃浠跺悕鍒版湰鍦版満鍣ㄤ腑,鍏ㄩ儴杞崲涓哄皬鍐欏瓧姣?
FTP>cd: 鍚孶NIX鐨凜D鍛戒护.
FTP>cdup: 杩斿洖涓婁竴绾х洰褰?
FTP>chmod: 鏀瑰彉杩滅涓绘満鐨勬枃浠舵潈闄?
FTP>close: 缁堟杩滅鐨凢TP杩涚▼,杩斿洖鍒癋TP鍛戒护鐘舵€? 鎵€鏈夌殑瀹忓畾涔夐兘琚垹闄?
FTP>delete: 鍒犻櫎杩滅涓绘満涓殑鏂囦欢.
FTP>dir [remote-directory] [local-file] 鍒楀嚭褰撳墠杩滅涓绘満鐩綍涓殑鏂囦欢.濡傛灉鏈夋湰鍦版枃浠?灏卞皢缁撴灉鍐欒嚦鏈湴鏂囦欢.
FTP>get [remote-file] [local-file] 浠庤繙绔富鏈轰腑浼犻€佽嚦鏈湴涓绘満涓?
FTP>help [command] 杈撳嚭鍛戒护鐨勮В閲?
FTP>lcd: 鏀瑰彉褰撳墠鏈湴涓绘満鐨勫伐浣滅洰褰?濡傛灉缂虹渷,灏辫浆鍒板綋鍓嶇敤鎴风殑HOME鐩綍.
FTP>ls [remote-directory] [local-file] 鍚孌IR.
FTP>macdef: 瀹氫箟瀹忓懡浠?
FTP>mdelete [remote-files] 鍒犻櫎涓€鎵规枃浠?
FTP>mget [remote-files] 浠庤繙绔富鏈烘帴鏀朵竴鎵规枃浠惰嚦鏈湴涓绘満.
FTP>mkdir directory-name 鍦ㄨ繙绔富鏈轰腑寤虹珛鐩綍.
FTP>mput local-files 灏嗘湰鍦颁富鏈轰腑涓€鎵规枃浠朵紶閫佽嚦杩滅涓绘満.
FTP>open host [port] 閲嶆柊寤虹珛涓€涓柊鐨勮繛鎺?
FTP>prompt: 浜や簰鎻愮ず妯″紡.
FTP>put local-file [remote-file] 灏嗘湰鍦颁竴涓枃浠朵紶閫佽嚦杩滅涓绘満涓?
FTP>pwd: 鍒楀嚭褰撳墠杩滅涓绘満鐩綍.
FTP>quit: 鍚孊YE.
FTP>recv remote-file [local-file] 鍚孏ET.
FTP>rename [from] [to] 鏀瑰彉杩滅涓绘満涓殑鏂囦欢鍚?
FTP>rmdir directory-name 鍒犻櫎杩滅涓绘満涓殑鐩綍.
FTP>send local-file [remote-file] 鍚孭UT.
FTP>status: 鏄剧ず褰撳墠FTP鐨勭姸鎬?
FTP>system: 鏄剧ず杩滅涓绘満绯荤粺绫诲瀷.
FTP>user user-name [password] [account] 閲嶆柊浠ュ埆鐨勭敤鎴峰悕鐧诲綍杩滅涓绘満.
FTP>? [command]: 鍚孒ELP. [command]鎸囧畾闇€瑕佸府鍔╃殑鍛戒护鍚嶇О銆傚鏋滄病鏈夋寚瀹?command锛宖tp 灏嗘樉绀哄叏閮ㄥ懡浠ょ殑鍒楄〃銆?br>FTP>! 浠?ftp 瀛愮郴缁熼€€鍑哄埌澶栧3銆?/p>