{"id":292910,"date":"2024-09-11T20:06:17","date_gmt":"2024-09-11T12:06:17","guid":{"rendered":"https:\/\/lrxjmw.cn\/fzlhjzdyyjsc.html"},"modified":"2024-09-11T20:06:17","modified_gmt":"2024-09-11T12:06:17","slug":"fzlhjzdyyjsc","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/fzlhjzdyyjsc.html","title":{"rendered":"FTP \u5728 Linux \u73af\u5883\u4e2d\u7684\u5e94\u7528\u53ca\u4e0a\u4f20\u6587\u4ef6\u64cd\u4f5c\u65b9\u5f0f\u4e0e\u5e38\u89c1\u95ee\u9898\u89e3\u51b3\u65b9\u6848"},"content":{"rendered":"

FTP\u5728linux\u73af\u5883\u4e2d\u7684\u5e94\u7528\u53ca\u5176\u91cd\u8981\u6027\u4e0d\u8a00\u800c\u55bb\u3002\u5982\u540c\u67b6\u8bbe\u4e8e\u4e24\u5cb8\u4e4b\u95f4\u7684\u6865\u6881\uff0cFTP\u8ba9Linux<\/a>\u7528\u6237\u80fd\u4fbf\u6377\u5730\u5c06\u6570\u636e\u4f20\u8f93\u81f3\u8fdc\u7a0b\u670d\u52a1\u7aef\u3002\u672c\u6587\u65e8\u5728\u9610\u8ff0Linux\u73af\u5883\u4e0b\u7528FTP\u4e0a\u4f20\u6587\u4ef6\u7684\u64cd\u4f5c\u65b9\u5f0f\u53ca\u5e38\u89c1\u95ee\u9898\u548c\u89e3\u51b3\u65b9\u6848\uff0c\u4e3a\u5e7f\u5927\u4f7f\u7528\u8005\u63d0\u4f9b\u53c2\u8003\u4e0e\u501f\u9274\u3002<\/p>\n

\u4e00\u3001\u4ec0\u4e48\u662fFTP\uff1f<\/b><\/p>\n

FTP\uff08\u5168\u79f0\u4e3a\u201c\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\u201d\uff09\u662f\u4e00\u79cd\u4e13\u4e3a\u7f51\u7edc\u6587\u4ef6\u4f20\u8f93\u8bbe\u8ba1\u7684\u6807\u51c6\u534f\u8bae\u3002\u5f53\u4f60\u6709\u5927\u91cf\u6587\u4ef6\u9700\u4ece\u7535\u8111\u4e0a\u4f20\u8f93\u81f3\u8fdc\u7a0b\u670d\u52a1\u5668\u65f6\uff0cFTP\u5982\u540c\u65e0\u53ef\u53d6\u4ee3\u7684\u4fe1\u4f7f\uff0c\u4ee5\u5176\u5b89\u5168\u4e14\u8fc5\u75be\u7684\u8fd0\u8f93\u65b9\u5f0f\u4fdd\u8bc1\u6587\u4ef6\u987a\u7545\u5230\u8fbe\u3002\u5c3d\u7ba1\u64cd\u4f5c\u624b\u6cd5\u7b80\u6613linux\u7cfb\u7edf\u4e0b\u8f7d\u5b98\u7f51\uff0c\u4f46\u5176\u529f\u80fd\u5374\u6781\u4e3a\u4e30\u5bcc\u591a\u6837\u3002\u501f\u52a9\u4e8eFTP\uff0c\u7528\u6237\u53ef\u5b9e\u73b0\u6587\u4ef6\u7684\u4e0a\u4f20\u4e0e\u4e0b\u8f7d\uff0c\u540c\u65f6\u4e5f\u80fd\u5bf9\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\u53ca\u76ee\u5f55\u8fdb\u884c\u6709\u6548\u7ba1\u7406\u3002<\/p>\n

Linux\u7cfb\u7edf\u4e2d\uff0cFTP\u8fd0\u7528\u5c24\u4e3a\u5e7f\u6cdb\uff0c\u5c24\u5176\u5728\u7f51\u7ad9\u642d\u5efa\u53ca\u6570\u636e\u5907\u4efd\u5de5\u4f5c\u4e2d\u3002\u501f\u52a9FTP\u529f\u80fdlinux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/a><\/strong>\uff0c\u60a8\u53ef\u4fbf\u6377\u5730\u4e0a\u4f20\u5df2\u5b8c\u6210\u7684\u7f51\u9875\u3001\u56fe\u50cf\u7b49\u6587\u4ef6\u81f3\u670d\u52a1\u5668\uff0c\u4f7f\u5168\u7403\u89c2\u4f17\u5747\u80fd\u6b23\u8d4f\u5230\u60a8\u7684\u4f5c\u54c1\u3002\u5bf9\u4e8e\u5f00\u53d1\u4eba\u5458\u6216\u666e\u901a\u4f7f\u7528\u8005\u800c\u8a00\uff0c\u719f\u7ec3\u638c\u63e1FTP\u6280\u672f\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n

\u4e8c\u3001\u5b89\u88c5FTP\u5ba2\u6237\u7aef<\/b><\/p>\n

\u6b32\u5728Linux\u7cfb\u7edf\u4e2d\u5b8c\u6210FTP\u64cd\u4f5c\uff0c\u9700\u5148\u786e\u4fdd\u5177\u5907FTP\u5ba2\u6237\u7aef\u3002\u5927\u90e8\u5206Linux\u53d1\u884c\u7248\u9884\u88c5\u6709\u8be5\u7a0b\u5e8f\uff0c\u4f8b\u5982\"ftp\"\u547d\u4ee4\u3002\u53ef\u901a\u8fc7\u8fd0\u884c\u5982\u4e0b\u7ec8\u7aef\u6307\u4ee4\u67e5\u8bc1\u662f\u5426\u5df2\u5b89\u88c5\u6210\u529f\uff1a<\/p>\n

\n

bash\nftp\n<\/pre>\n<\/p>\n

\u82e5\u6709\u76f8\u5e94\u63d0\u793a\uff0c\u5373\u8868\u793a\u5df2\u5b89\u88c5\u8fc7\uff1b\u5426\u5219\u53ef\u501f\u52a9\u5305\u7ba1\u7406\u5668\u8fdb\u884c\u914d\u7f6e\uff0c\u4f8b\u5982\uff0c\u5728Ubuntu\u73af\u5883\u4e0b\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\u5b9e\u73b0\u5b89\u88c5\uff1a<\/p>\n

sudo apt-get install ftp<\/p>\n

\u5f85\u90e8\u7f72\u5b8c\u6bd5\uff0c\u60a8\u5373\u53ef\u4eab\u53d7\u6109\u5feb\u7684FTP\u4f7f\u7528\u4f53\u9a8c\u3002\u8bbe\u60f3\u4e00\u4e0b\uff0c\u5f53\u60a8\u5728\u7ec8\u7aef\u6620\u5165\u773c\u5e18\u7684\u95ea\u70c1\u63d0\u793a\u7b26\u4e2d\u611f\u53d7\u90a3\u4efd\u671f\u5f85\u65f6\uff0c\u5b9b\u5982\u8e0f\u4e0a\u4e00\u6bb5\u63a2\u9669\u65c5\u7a0b\uff0c\u90a3\u80a1\u6fc0\u52a8\u4e4b\u60c5\u96be\u4ee5\u8a00\u8868\u3002<\/p>\n

\u4e09\u3001\u8fde\u63a5FTP\u670d\u52a1\u5668<\/b><\/p>\n

linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4_linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4_linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/p>\n

\u5728\u5b8c\u6210\u914d\u7f6e\u540e\uff0c\u4fbf\u53ef\u8fdb\u884c\u4e0e FTP \u670d\u52a1\u5668\u7684\u8fde\u63a5\u64cd\u4f5c\u3002\u8fd9\u9700\u77e5\u6653\u670d\u52a1\u5668\u5730\u5740\u3001\u7528\u6237\u540d\u53ca\u5bc6\u7801\u3002\u5177\u4f53\u547d\u4ee4\u4e3a\uff1a<\/p>\n

ftp \u670d\u52a1\u5668\u5730\u5740<\/p>\n

\u5728\u60a8\u8f93\u5165\u547d\u6307\u4ee4\u4e4b\u540e\uff0c\u7cfb\u7edf\u5c06\u8981\u6c42\u60a8\u586b\u5199\u7528\u6237\u540d\u4e0e\u5bc6\u7801\u3002\u82e5\u6210\u529f\u767b\u9646\uff0c\u5c06\u4f1a\u51fa\u73b0\u5168\u65b0\u5b57\u7b26\u63d0\u793a\u7b26\uff0c\u8868\u793a\u60a8\u5df2\u8e0f\u5165\u670d\u52a1\u5668\u7684FTP \u73af\u5883\u3002\u6b64\u523b\uff0c\u60a8\u4eff\u4f5b\u8eab\u4e34\u5176\u5883\uff0c\u5c3d\u89c8\u670d\u52a1\u5668\u4e0a\u5404\u7c7b\u6587\u4ef6\u53ca\u76ee\u5f55\uff0c\u6109\u60a6\u4e4b\u60c5\u4e0d\u7981\u6d8c\u4e0a\u5fc3\u5934\u3002<\/p>\n

\u56db\u3001\u4e0a\u4f20\u6587\u4ef6<\/b><\/p>\n

\u6210\u529f\u5efa\u7acb\u8fde\u63a5\u540e\uff0c\u6587\u4ef6\u4e0a\u4f20\u4fbf\u6210\u4e3a\u4e86\u5173\u952e\u6b65\u9aa4\u3002\u5728FTP\u73af\u5883\u4e0b\uff0c\u901a\u8fc7\"put\"\u6307\u4ee4\u53ef\u5355\u6b21\u4f20\u8f93\u6587\u4ef6\u3002<\/p>\n

linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4_linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4_linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/p>\n

put \u672c\u5730\u6587\u4ef6\u8def\u5f84<\/p>\n

\u82e5\u9700\u6279\u91cf\u4e0a\u4f20\u591a\u4efd\u6587\u6863\uff0c\u53ef\u5229\u7528\"mput\"\u6307\u4ee4\u3002\u5176\u5177\u4f53\u7528\u6cd5\u4e3a\uff1a<\/p>\n

mput \u672c\u5730\u6587\u4ef6\u8def\u5f84\/*<\/p>\n

\u6bcf\u5f53\u6587\u4ef6\u6210\u529f\u4e0a\u4f20\u65f6\uff0c\u90a3\u4efd\u559c\u60a6\u4e4b\u60c5\u65e0\u6cd5\u8a00\u55bb\u3002\u5c06\u7cbe\u5fc3\u6784\u601d\u7684\u4f5c\u54c1\u5448\u73b0\u7ed9\u5168\u7403\u89c2\u4f17\uff0c\u5185\u5fc3\u5145\u6ee1\u65e0\u9650\u9a84\u50b2\u3002<\/p>\n

\u4e94\u3001\u67e5\u770b\u6587\u4ef6\u4f20\u8f93\u72b6\u6001<\/b><\/p>\n

\u5f53\u9700\u4e86\u89e3\u6587\u4ef6\u4e0a\u4f20\u8fdb\u5ea6\u65f6\uff0c\u53ef\u501f\u52a9'ls'\u6307\u4ee4\u5bf9\u6b64\u76ee\u5f55\u5185\u7684\u6587\u4ef6\u8fdb\u884c\u67e5\u8be2\uff0c\u4ee5\u786e\u8ba4\u6587\u4ef6\u662f\u5426\u5df2\u6210\u529f\u4e0a\u4f20\u3002<\/p>\n

ls<\/p>\n

\u6bcf\u6b21\u89c1\u8bc1\u5df2\u4e0a\u4f20\u6587\u4ef6\u8363\u767b\u699c\u5355\u7684\u90a3\u523b\uff0c\u4eff\u4f5b\u81ea\u8eab\u7684\u8f9b\u52b3\u5f97\u5230\u4e86\u80af\u5b9a\uff0c\u6210\u5c31\u611f\u6cb9\u7136\u800c\u751f\u3002\u8fd9\u5802\u523b\uff0c\u65e0\u7591\u4fbf\u662f\u6bcf\u4e2a\u6587\u6863\u4f20\u8f93\u8005\u6700\u4e3a\u671f\u5f85\u7684\u65f6\u523b\u3002<\/p>\n

\u516d\u3001\u9000\u51faFTP<\/b><\/p>\n

\u8bf7\u5728\u4f20\u8f93\u5b8c\u6bd5\u6587\u6863\u4e4b\u540e\u59a5\u5584\u5173\u95ed\u60a8\u7684FTP\u8fde\u63a5\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165\"bye\"\u6216\"quit\"\u6307\u4ee4\u5b9e\u73b0\u4f18\u96c5\u5b89\u5168\u5730\u9000\u5c80\u3002<\/p>\n

bye<\/p>\n

\u6bcf\u6b21\u6267\u884c\u6b64\u6307\u4ee4\uff0c\u5185\u5fc3\u6df1\u5904\u6cb9\u7136\u800c\u751f\u7684\u662f\u6df1\u6df1\u7684\u9053\u522b\u4e4b\u60c5\uff0c\u4eff\u4f5b\u6b63\u4e0e\u8fd9\u4e2a\u865a\u5e7b\u7684\u5929\u5730\u6325\u6cea\u4f5c\u522b\uff0c\u671f\u76fc\u7740\u4e0b\u4e00\u6b21\u7684\u91cd\u9022\u3002\u5b66\u4e60FTP\u4e0d\u4ec5\u662f\u638c\u63e1\u5404\u79cd\u547d\u4ee4\uff0c\u66f4\u662f\u4e00\u573a\u4e0e\u79d1\u6280\u7684\u6df1\u5ea6\u4ea4\u6d41linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/strong>\uff0c\u4f7f\u6211\u5728\u6bcf\u4e00\u6b21\u7684\u8fde\u63a5\u4e2d\u90fd\u80fd\u4f53\u9a8c\u5230\u6210\u529f\u7684\u559c\u60a6\u548c\u6ee1\u8db3\u3002<\/p>\n

\u4e03\u3001\u5e38\u89c1\u95ee\u9898\u4e0e\u89e3\u51b3\u65b9\u6848<\/b><\/p>\n

\u5728FTP\u64cd\u4f5c\u671f\u95f4\uff0c\u5982\u9047\u8fde\u63a5\u969c\u788d\u3001\u4f20\u8f93\u6545\u969c\u7b49\u60c5\u51b5\uff0c\u9996\u5148\u9700\u6838\u5b9e\u7f51\u7edc\u8fde\u63a5\u72b6\u51b5\u6216\u786e\u8ba4FTP\u670d\u52a1\u72b6\u6001\u3002\u6b64\u65f6\uff0c\u5e94\u5f53\u7a33\u5b9a\u60c5\u7eea\uff0c\u901a\u8fc7\u9010\u5c42\u5206\u6790\uff0c\u7ec8\u5c06\u5bfb\u5f97\u6709\u6548\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n

\u5728\u6b64\u8fc7\u7a0b\u4e2d\uff0c\u60a8\u5c06\u9010\u6e10\u9886\u609f\u5230\uff0c\u5c3d\u7ba1\u6280\u672f\u8f83\u4e3a\u6df1\u5965\uff0c\u53ea\u9700\u52e4\u52c9\u5b66\u4e60\uff0c\u5fc5\u80fd\u719f\u7ec3\u638c\u63e1\u3002\u6bcf\u6b21\u6311\u6218\u96be\u9898linux mint\uff0c\u5747\u4e3a\u81ea\u6211\u63d0\u5347\u7684\u5951\u673a\uff0c\u4f7f\u6211\u5728\u4fe1\u606f\u79d1\u6280\u5145\u65a5\u7684\u73af\u5883\u4e2d\u66f4\u5177\u4fe1\u5fc3\u3002<\/p>\n

\u638c\u63e1FTP\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4\u5bf9\u4e8e\u63d0\u5347\u5de5\u4f5c\u6548\u7387\u5177\u6709\u4e3e\u8db3\u8f7b\u91cd\u7684\u4f5c\u7528\u3002\u671f\u671b\u672c\u7bc7\u6587\u7ae0\u80fd\u591f\u52a9\u529b\u5404\u4f4d\u5728FTP\u5e94\u7528\u65b9\u9762\u53d6\u5f97\u8fdb\u6b65\u3002\u5728\u60a8\u7684\u5b9e\u8df5\u8fc7\u7a0b\u4e2d\uff0c\u662f\u5426\u6709\u8fc7\u4ee4\u4eba\u96be\u5fd8\u7684\u7ecf\u5386\uff1f\u671f\u5f85\u60a8\u5728\u8bc4\u8bba\u533a\u5206\u4eab\uff0c\u60a8\u7684\u53cd\u9988\u5c06\u662f\u6211\u524d\u8fdb\u7684\u52a8\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u501f\u52a9\u4e8eFTP\uff0c\u7528\u6237\u53ef\u5b9e\u73b0\u6587\u4ef6\u7684\u4e0a\u4f20\u4e0e\u4e0b\u8f7d\uff0c\u540c\u65f6\u4e5f\u80fd\u5bf9\u8fdc\u7a0b\u670d\u52a1\u5668\u4e0a\u7684\u6587\u4ef6\u53ca\u76ee\u5f55\u8fdb\u884c\u6709\u6548\u7ba1\u7406\u3002\u82e5\u6709\u76f8\u5e94\u63d0\u793a\uff0c\u5373\u8868\u793a\u5df2\u5b89\u88c5\u8fc7\uff1b\u5426\u5219\u53ef\u501f\u52a9\u5305\u7ba1\u7406\u5668\u8fdb\u884c\u914d\u7f6e\uff0c\u4f8b\u5982\uff0c\u5728Ubuntu\u73af\u5883\u4e0b\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\u5b9e\u73b0\u5b89\u88c5\uff1a\u5728FTP\u73af\u5883\u4e0b\uff0c\u901a\u8fc7put\u6307\u4ee4\u53ef\u5355\u6b21\u4f20\u8f93\u6587\u4ef6\u3002<\/p>\n","protected":false},"author":1,"featured_media":292911,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[1140,109,2931,2930],"class_list":["post-292910","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-f-3","tag-linux","tag-scwj","tag-wjcs"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/292910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=292910"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/292910\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/292911"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=292910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=292910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=292910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}