{"id":294087,"date":"2024-11-01T12:07:28","date_gmt":"2024-11-01T04:07:28","guid":{"rendered":"https:\/\/lrxjmw.cn\/zwlxtzfscwjd.html"},"modified":"2024-11-01T12:07:28","modified_gmt":"2024-11-01T04:07:28","slug":"zwlxtzfscwjd","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zwlxtzfscwjd.html","title":{"rendered":"\u638c\u63e1 Linux \u7cfb\u7edf\u4e2d FTP \u4e0a\u4f20\u6587\u4ef6\u7684\u547d\u4ee4\u53ca\u5de5\u5177\u5b89\u88c5\u65b9\u6cd5"},"content":{"rendered":"

\u5728\u8ba1\u7b97\u673a\u64cd\u4f5c\u9886\u57df\uff0cLinux<\/a>\u7cfb\u7edf\u5c24\u4e3a\u7a81\u51fa\uff0c\u5176\u4e2dFTP\uff08\u6587\u4ef6\u4f20\u8f93\u534f\u8bae\uff09\u662f\u4e00\u9879\u4e0d\u53ef\u6216\u7f3a\u7684\u91cd\u8981\u529f\u80fd\u3002\u8fd9\u9879\u529f\u80fd\u8ba9\u6211\u4eec\u80fd\u591f\u8f7b\u677e\u5730\u5c06\u672c\u5730\u6587\u4ef6\u4e0a\u4f20\u81f3\u670d\u52a1\u5668\u7b49\u3002\u638c\u63e1FTP\u4e0a\u4f20\u6587\u4ef6\u7684\u547d\u4ee4<\/a>\uff0c\u5bf9\u4e8e\u719f\u7ec3\u64cd\u4f5cLinux<\/a>\u7cfb\u7edf\u81f3\u5173\u91cd\u8981\u3002<\/p>\n

\u5b89\u88c5FTP\u5de5\u5177<\/b><\/p>\n

\u9996\u5148\u8981\u6ce8\u610f\u7684\u662f\uff0c\u591a\u6570Linux\u7cfb\u7edf\u9ed8\u8ba4\u5e76\u672a\u5b89\u88c5FTP\u76f8\u5173\u5de5\u5177\u3002\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5148\u884c\u5b89\u88c5\uff0c\u6bd4\u5982\u5e38\u7528\u7684lftp\u6216vsftpd\u7b49\u3002\u4ece\u8f6f\u4ef6\u6e90\u4e0b\u8f7d\u76f8\u5e94\u8f6f\u4ef6\u5305\u5e76\u5b8c\u6210\u5b89\u88c5\u662f\u5e38\u89c1\u7684\u505a\u6cd5\u3002\u4e0d\u8fc7\uff0c\u4e0d\u540cLinux\u53d1\u884c\u7248\u4e2d\uff0c\u5b89\u88c5\u547d\u4ee4\u53ef\u80fd\u7565\u6709\u5dee\u5f02\u3002\u6bd4\u5982\u5728Ubuntu\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7apt\u547d\u4ee4\u6765\u5b89\u88c5\u3002\u8fd9\u4e00\u6b65\u9aa4\u65e2\u57fa\u7840\u53c8\u5173\u952e\uff0c\u82e5\u5de5\u5177\u5b89\u88c5\u4e0d\u5f53linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/strong>\uff0c\u540e\u7eed\u7684FTP\u4e0a\u4f20\u5c31\u65e0\u6cd5\u8fdb\u884c\u3002\u6b64\u5916\uff0c\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u79cd\u95ee\u9898\uff0c\u5982\u8f6f\u4ef6\u5305\u4f9d\u8d56\u95ee\u9898\uff0c\u8fd9\u65f6\u9700\u8981\u4ed4\u7ec6\u67e5\u9605\u9519\u8bef\u4fe1\u606f\u5e76\u52a0\u4ee5\u89e3\u51b3\u3002<\/p>\n

\u6709\u4e9b\u7528\u6237\u53ef\u80fd\u89c9\u5f97\u5b89\u88c5\u8fc7\u7a0b\u590d\u6742\uff0c\u56e0\u800c\u5ffd\u89c6\u4e86\u8fd9\u4e2a\u73af\u8282\uff0c\u4f46\u5b9e\u9645\u60c5\u51b5\u5e76\u975e\u5982\u6b64\u3002\u5b9e\u9645\u4e0a\uff0c\u6b63\u786e\u5b89\u88c5FTP\u5de5\u5177\u662f\u4fdd\u8bc1\u4e0a\u4f20\u8fc7\u7a0b\u65e2\u6d41\u7545\u53c8\u5b89\u5168\u7684\u5fc5\u8981\u6761\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

\u5efa\u7acbFTP\u8fde\u63a5<\/b><\/p>\n

FTP\u4e0a\u4f20\u6587\u4ef6\u7684\u7b2c\u4e00\u6b65\u662f\u5efa\u7acb\u8fde\u63a5\u3002\u9996\u5148\uff0c\u6211\u4eec\u5fc5\u987b\u83b7\u53d6\u76ee\u6807\u670d\u52a1\u5668\u7684IP\u5730\u5740\u548c\u7aef\u53e3\u53f7\uff0c\u901a\u5e38FTP\u9ed8\u8ba4\u7aef\u53e3\u662f21\uff0c\u4f46\u6709\u65f6\u4e5f\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u540c\u65f6\uff0c\u8fd8\u9700\u8981\u77e5\u9053\u767b\u5f55\u7684\u7528\u6237\u540d\u548c\u5bc6\u7801\u3002\u901a\u8fc7\u547d\u4ee4\u884c\u8f93\u5165\u76f8\u5e94\u7684\u8fde\u63a5\u547d\u4ee4\uff0c\u4f8b\u5982\u5728lftp\u4e2d\uff0c\u5148\u8f93\u5165\u201csetftp:ssl-allowno\u201d\uff0c\u7136\u540e\u8f93\u5165\u201copen\u670d\u52a1\u5668IP\u5730\u5740\u201d\u3002\u4e00\u65e6\u8fde\u63a5\u6210\u529f\uff0c\u7cfb\u7edf\u4f1a\u663e\u793a\u63d0\u793a\u4fe1\u606f\u3002\u82e5\u8f93\u5165\u7684\u8fde\u63a5\u4fe1\u606f\u6709\u8bef\uff0c\u5982IP\u5730\u5740\u6216\u7aef\u53e3\u53f7\u9519\u8bef\uff0c\u8fde\u63a5\u5c06\u65e0\u6cd5\u5efa\u7acb\u3002\u6b64\u5916\uff0c\u5b9e\u9645\u64cd\u4f5c\u4e2d\uff0c\u670d\u52a1\u5668\u53ef\u80fd\u8bbe\u7f6e\u4e86\u9632\u706b\u5899linux ftp\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/strong>\uff0c\u6b64\u65f6\u9700\u8981\u68c0\u67e5\u9632\u706b\u5899\u89c4\u5219\uff0c\u786e\u4fddFTP\u8fde\u63a5\u88ab\u5141\u8bb8\u3002<\/p>\n

\u7f51\u7edc\u95ee\u9898\u6709\u65f6\u4f1a\u5bfc\u81f4\u8fde\u63a5\u5931\u8d25\uff0c\u6b64\u65f6\u9700\u8981\u68c0\u67e5\u7f51\u7edc\u914d\u7f6e\u7b49\u5404\u9879\u56e0\u7d20\uff0c\u4ee5\u786e\u4fdd\u80fd\u591f\u6210\u529f\u5efa\u7acbFTP\u8fde\u63a5\u3002<\/p>\n

\u6d4f\u89c8\u672c\u5730\u6587\u4ef6\u7cfb\u7edf<\/b><\/p>\n

\u5728\u51c6\u5907\u4e0a\u4f20\u6587\u4ef6\u4e4b\u524d\uff0c\u6211\u4eec\u5fc5\u987b\u5148\u5728\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u4e2d\u627e\u5230\u76ee\u6807\u6587\u4ef6\u7684\u6240\u5728\u76ee\u5f55\u3002\u5927\u591a\u6570FTP\u5ba2\u6237\u7aef\u90fd\u914d\u5907\u4e86\u67e5\u770b\u672c\u5730\u6587\u4ef6\u76ee\u5f55\u7684\u547d\u4ee4\u3002\u4f8b\u5982node.js\u5b89\u88c5linux\uff0c\u5728lftp\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\uff01ls\u547d\u4ee4\u6765\u67e5\u770b\u5f53\u524d\u672c\u5730\u76ee\u5f55\u4e0b\u7684\u6587\u4ef6\u3002\u8fd9\u6837\u505a\u6709\u52a9\u4e8e\u6211\u4eec\u7cbe\u786e\u5730\u5b9a\u4f4d\u5230\u9700\u8981\u4e0a\u4f20\u7684\u6587\u4ef6\u3002\u56e0\u4e3a\u4e00\u65e6\u6587\u4ef6\u8def\u5f84\u51fa\u9519\uff0c\u4e0a\u4f20\u7684\u6587\u4ef6\u53ef\u80fd\u5c31\u4e0d\u662f\u6211\u4eec\u60f3\u8981\u7684\u90a3\u4e00\u4e2a\u3002\u6709\u65f6\uff0c\u5728\u4f17\u591a\u6587\u4ef6\u4e2d\u7b5b\u9009\u51fa\u7279\u5b9a\u6587\u4ef6\u8fdb\u884c\u4e0a\u4f20\uff0c\u5bf9\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u7684\u719f\u6089\u7a0b\u5ea6\u5c31\u663e\u5f97\u5c24\u4e3a\u91cd\u8981\u3002<\/p>\n

\u5728\u4f17\u591a\u56e2\u961f\u5408\u4f5c\u7684\u573a\u5408\uff0c\u52a1\u5fc5\u7559\u610f\u81ea\u5df1\u83b7\u53d6\u7684\u662f\u6700\u65b0\u7248\u672c\u7684\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

\u4e0e\u67e5\u770b\u672c\u5730\u6587\u4ef6\u7cfb\u7edf\u76f8\u4eff\uff0c\u6211\u4eec\u540c\u6837\u9700\u8981\u67e5\u770bFTP\u670d\u52a1\u5668\u7aef\u7684\u6587\u4ef6\u7cfb\u7edf\u3002\u901a\u8fc7FTP\u547d\u4ee4\uff0c\u6211\u4eec\u80fd\u591f\u67e5\u770b\u76ee\u6807\u76ee\u5f55\u662f\u5426\u5b58\u5728\uff0c\u4ee5\u53ca\u662f\u5426\u6709\u76f8\u5e94\u7684\u6743\u9650\u3002\u6bd4\u5982\uff0c\u5728lftp\u4e2d\u4f7f\u7528ls\u6216dir\u7b49\u547d\u4ee4\u6765\u68c0\u67e5\u670d\u52a1\u5668\u6587\u4ef6\u7cfb\u7edf\u7684\u72b6\u51b5\u3002\u660e\u767d\u670d\u52a1\u5668\u7aef\u7684\u5b58\u50a8\u7ed3\u6784\u5bf9\u4e8e\u7cbe\u786e\u5730\u5c06\u6587\u4ef6\u4e0a\u4f20\u5230\u6307\u5b9a\u4f4d\u7f6e\u6781\u4e3a\u5173\u952e\u3002\u82e5\u76ee\u6807\u76ee\u5f55\u4e0d\u5b58\u5728\uff0c\u6211\u4eec\u53ef\u80fd\u9700\u8981\u5148\u521b\u5efa\u5b83\u3002\u6b64\u5916\uff0c\u670d\u52a1\u5668\u53ef\u80fd\u4f1a\u6839\u636e\u7528\u6237\u7684\u6743\u9650\u8bbe\u7f6e\u4e0d\u540c\u7684\u64cd\u4f5c\u533a\u57df\uff0c\u82e5\u6743\u9650\u4e0d\u591f\uff0c\u5373\u4fbf\u627e\u5230\u4e86\u6b63\u786e\u7684\u76ee\u5f55\uff0c\u4e5f\u53ef\u80fd\u65e0\u6cd5\u4e0a\u4f20\u6587\u4ef6\u3002<\/p>\n

\u670d\u52a1\u5668\u7aef\u7684\u6587\u4ef6\u547d\u540d\u89c4\u5219\u53ef\u80fd\u4e0e\u672c\u5730\u5b58\u5728\u4e0d\u540clinux \u865a\u62df\u4e3b\u673a\uff0c\u8fd9\u4e00\u70b9\u540c\u6837\u503c\u5f97\u5173\u6ce8\u3002<\/p>\n

\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4<\/b><\/p>\n

\u4e0a\u4f20\u6587\u4ef6\u65f6\uff0c\u5728lftp\u91cc\uff0c\u6211\u4eec\u53ea\u9700\u7b80\u5355\u6267\u884cput\u6216mput\u6307\u4ee4\u3002\u82e5\u53ea\u4e0a\u4f20\u4e00\u4e2a\u6587\u4ef6\uff0c\u53ea\u9700\u5728put\u540e\u8ddf\u4e0a\u4f20\u6587\u4ef6\u7684\u672c\u5730\u8def\u5f84\u53ca\u6587\u4ef6\u540d\uff0c\u5982putlocalfile.txt\u3002\u82e5\u9700\u4e0a\u4f20\u591a\u4e2a\u6587\u4ef6\uff0c\u5219\u4f7f\u7528mput\uff0c\u5e76\u6307\u5b9a\u76f8\u5e94\u7684\u6587\u4ef6\u6a21\u5f0f\u3002\u4e0d\u8fc7\uff0c\u4e0a\u4f20\u65f6\u9700\u7559\u610f\u6587\u4ef6\u5927\u5c0f\u7684\u9650\u5236\u3002\u90e8\u5206FTP\u670d\u52a1\u5668\u5bf9\u5355\u4e2a\u6587\u4ef6\u6216\u603b\u4e0a\u4f20\u6587\u4ef6\u91cf\u6709\u5927\u5c0f\u9650\u5236\uff0c\u82e5\u8d85\u51fa\u6b64\u9650\u5236\uff0c\u4e0a\u4f20\u5c06\u5931\u8d25\uff0c\u5e76\u4f1a\u663e\u793a\u63d0\u793a\u4fe1\u606f\u3002<\/p>\n

\u540c\u65f6\u8fd8\u8981\u5173\u6ce8\u4e0a\u4f20\u7684\u901f\u5ea6\uff0c\u8fd9\u4f1a\u53d7\u7f51\u7edc\u73af\u5883\u7b49\u591a\u79cd\u56e0\u7d20\u5f71\u54cd\u3002<\/p>\n

\u68c0\u67e5\u4e0a\u4f20\u7ed3\u679c<\/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

\u4e0a\u4f20\u5b8c\u6bd5\u540e\uff0c\u4e0d\u80fd\u5c31\u6b64\u505c\u6b47\uff0c\u8fd8\u9700\u5bf9\u4e0a\u4f20\u7ed3\u679c\u8fdb\u884c\u6838\u5b9e\u3002\u9700\u5728FTP\u670d\u52a1\u5668\u7aef\u6267\u884c\u67e5\u770b\u547d\u4ee4\uff0c\u4ee5\u786e\u8ba4\u6587\u4ef6\u662f\u5426\u5df2\u6210\u529f\u4e0a\u4f20\u3002\u540c\u65f6\uff0c\u786e\u4fdd\u6587\u4ef6\u5b8c\u6574\u6027\u81f3\u5173\u91cd\u8981\uff0c\u9700\u6bd4\u5bf9\u672c\u5730\u4e0e\u670d\u52a1\u5668\u7aef\u7684\u6587\u4ef6\u5927\u5c0f\u3001\u65f6\u95f4\u6233\u7b49\u4fe1\u606f\u662f\u5426\u543b\u5408\u3002\u6709\u65f6\u5373\u4fbf\u6587\u4ef6\u5df2\u4e0a\u4f20\uff0c\u4e5f\u53ef\u80fd\u56e0\u7f51\u7edc\u6ce2\u52a8\u7b49\u539f\u56e0\u5bfc\u81f4\u90e8\u5206\u6570\u636e\u4e22\u5931\u6216\u635f\u574f\u3002<\/p>\n

\u6211\u60f3\u8bf7\u6559\u5404\u4f4d\u8bfb\u8005\uff0c\u5728\u4f7f\u7528LinuxFTP\u4e0a\u4f20\u6587\u4ef6\u547d\u4ee4\u65f6\uff0c\u4f60\u4eec\u9047\u5230\u7684\u6700\u5e38\u89c1\u95ee\u9898\u662f\u4ec0\u4e48\uff1f\u6b22\u8fce\u5927\u5bb6\u79ef\u6781\u53c2\u4e0e\u8bc4\u8bba\u4ea4\u6d41\uff0c\u522b\u5fd8\u4e86\u70b9\u8d5e\u548c\u8f6c\u53d1\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u638c\u63e1FTP\u4e0a\u4f20\u6587\u4ef6\u7684\u547d\u4ee4\uff0c\u5bf9\u4e8e\u719f\u7ec3\u64cd\u4f5cLinux\u7cfb\u7edf\u81f3\u5173\u91cd\u8981\u3002\u9996\u5148\u8981\u6ce8\u610f\u7684\u662f\uff0c\u591a\u6570Linux\u7cfb\u7edf\u9ed8\u8ba4\u5e76\u672a\u5b89\u88c5FTP\u76f8\u5173\u5de5\u5177\u3002\u8fd9\u4e00\u6b65\u9aa4\u65e2\u57fa\u7840\u53c8\u5173\u952e\uff0c\u82e5\u5de5\u5177\u5b89\u88c5\u4e0d\u5f53\uff0c\u540e\u7eed\u7684FTP\u4e0a\u4f20\u5c31\u65e0\u6cd5\u8fdb\u884c\u3002\u6bd4\u5982\uff0c\u5728lftp\u4e2d\u4f7f\u7528ls\u6216dir\u7b49\u547d\u4ee4\u6765\u68c0\u67e5\u670d\u52a1\u5668\u6587\u4ef6\u7cfb\u7edf\u7684\u72b6\u51b5\u3002<\/p>\n","protected":false},"author":1,"featured_media":294088,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[1140,109,2931,2939,3073],"class_list":["post-294087","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-f-3","tag-linux","tag-scwj","tag-wjxt","tag-qxsz"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294087","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=294087"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/294087\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/294088"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=294087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=294087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=294087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}