{"id":293823,"date":"2024-10-23T20:05:39","date_gmt":"2024-10-23T12:05:39","guid":{"rendered":"https:\/\/lrxjmw.cn\/zlxtzxzfwjdj.html"},"modified":"2024-10-23T20:05:39","modified_gmt":"2024-10-23T12:05:39","slug":"zlxtzxzfwjdj","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/zlxtzxzfwjdj.html","title":{"rendered":"\u5728 Linux \u7cfb\u7edf\u4e2d\u4e0b\u8f7d FTP \u6587\u4ef6\u7684\u6280\u5de7\u53ca\u6ce8\u610f\u4e8b\u9879\u8be6\u89e3"},"content":{"rendered":"

\u672c\u6587\u5c06\u8be6\u5c3d\u9610\u8ff0\u5728Linux<\/a>\u7cfb\u7edf\u4e2d\u4e0b\u8f7dFTP\u6587\u4ef6\u7684\u591a\u79cd\u6280\u5de7\u4ee5\u53ca\u5fc5\u987b\u6ce8\u610f\u7684\u7ec6\u8282\u3002\u8fd9\u4e9b\u5185\u5bb9\u5bf9\u4e8e\u5728Linux<\/a>\u5e73\u53f0\u9891\u7e41\u64cd\u4f5c\u3001\u9700\u4eceFTP\u670d\u52a1\u5668\u4e0b\u8f7d\u6587\u4ef6\u7684\u8bfb\u8005\u6765\u8bf4\uff0c\u65e0\u7591\u5177\u6709\u6781\u9ad8\u7684\u5b9e\u7528\u4ef7\u503c\u3002<\/p>\n

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

Linux\u7cfb\u7edf\u82e5\u7f3a\u5c11wget\u5de5\u5177\uff0c\u9700\u5148\u884c\u5b89\u88c5\u3002wget\u662f\u4e00\u6b3e\u529f\u80fd\u5f3a\u5927\u7684\u547d\u4ee4<\/a>\u884c\u4e0b\u8f7d\u5de5\u5177\u3002\u5728Debian\u7cfb\u7edf\u4e0a\uff0capt-get\u547d\u4ee4\u53ef\u7528\u4e8e\u5b89\u88c5\uff0c\u5982\u8f93\u5165\u201csudoapt-getinstallwget\u201d\u3002\u6b64\u547d\u4ee4\u4f1a\u81ea\u52a8\u4ece\u8f6f\u4ef6\u6e90\u4e2d\u68c0\u7d22\u5e76\u5b89\u88c5wget\u3002\u5b89\u88c5\u6210\u529f\u540e\uff0c\u5373\u53ef\u5229\u7528wget\u8f7b\u677e\u4e0b\u8f7dFTP\u6587\u4ef6\u3002\u5176\u663e\u8457\u4f18\u52bf\u5728\u4e8e\uff0c\u7528\u6237\u53ef\u5728\u547d\u4ee4\u884c\u4e2d\u65b9\u4fbf\u5730\u8bbe\u5b9a\u4e0b\u8f7d\u53c2\u6570\uff0c\u4f8b\u5982\u6307\u5b9a\u4e0b\u8f7d\u5730\u5740\u548c\u4fdd\u5b58\u6587\u4ef6\u540d\u3002<\/p>\n

FTP\u670d\u52a1\u5668\u914d\u7f6e\u591a\u6837\uff0c\u90e8\u5206\u53ef\u80fd\u9700\u8eab\u4efd\u6838\u5b9e\u3002\u82e5\u4e0b\u8f7d\u9700\u9a8c\u8bc1\u7684FTP\u6587\u4ef6\uff0c\u52a1\u5fc5\u63d0\u4f9b\u7528\u6237\u540d\u4e0e\u5bc6\u7801\u3002\u4e0b\u8f7d\u547d\u4ee4\u5927\u81f4\u4e3a\uff1a\u201cwget--ftp-user=\u7528\u6237\u540d--ftp-password=\u5bc6\u7801ftp:\/\/\u6587\u4ef6\u5730\u5740\u201d\u3002\u5982\u6b64\u64cd\u4f5c\uff0c\u65b9\u53ef\u786e\u4fdd\u4ece\u53d7\u6743FTP\u670d\u52a1\u5668\u6210\u529f\u4e0b\u8f7d\u6587\u4ef6\u3002<\/p>\n

\u4e0b\u8f7d\u6587\u4ef6\u5939\u5230\u684c\u9762_\u4e0b\u8f7d\u6587\u4ef6\u5939_linux\u4e0b\u8f7dftp\u6587\u4ef6<\/p>\n

\u4f7f\u7528curl\u5de5\u5177<\/b><\/p>\n

curl\u4e5f\u662fLinux\u7cfb\u7edf\u4e2d\u5e38\u7528\u7684\u4e0b\u8f7d\u8f6f\u4ef6\u4e4b\u4e00\u3002\u5176\u5b89\u88c5\u65b9\u6cd5\u4e0ewget\u76f8\u4f3c\u3002\u5728CentOS\u7cfb\u7edf\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u6267\u884c\u201cyuminstallcurl-y\u201d\u8fd9\u6837\u7684\u547d\u4ee4\u6765\u5b89\u88c5\u3002curl\u5728\u4e0b\u8f7dFTP\u6587\u4ef6\u65b9\u9762\u8868\u73b0\u4f18\u79c0\u3002\u5b83\u4e0d\u4ec5\u80fd\u4e0b\u8f7d\u666e\u901a\u6587\u4ef6\uff0c\u8fd8\u80fd\u5728\u5904\u7406\u590d\u6742\u7684FTP\u8fde\u63a5\u65f6\u53d1\u6325\u51fa\u8272\u3002<\/p>\n

\u5728\u4f7f\u7528curl\u5de5\u5177\u4e0b\u8f7dFTP\u6587\u4ef6\u65f6\uff0c\u82e5\u9047\u5230\u9700\u8981\u8f93\u5165\u7528\u6237\u540d\u548c\u5bc6\u7801\u7684\u670d\u52a1\u5668\uff0c\u5176\u547d\u4ee4\u683c\u5f0f\u4f1a\u6709\u6240\u4e0d\u540c\u3002\u6bd4\u5982\uff0c\u8f93\u5165\u201ccurl-u\u7528\u6237\u540d:\u5bc6\u7801ftp:\/\/\u6587\u4ef6\u5730\u5740-o\u4fdd\u5b58\u6587\u4ef6\u540d\u201d\uff0c\u8fd9\u91cc\u201c-o\u201d\u540e\u9762\u7684\u90e8\u5206\u662f\u7528\u6765\u6307\u5b9a\u4e0b\u8f7d\u6587\u4ef6\u8981\u4fdd\u5b58\u7684\u540d\u79f0\u3002<\/p>\n

linux\u4e0b\u8f7dftp\u6587\u4ef6_\u4e0b\u8f7d\u6587\u4ef6\u5939\u5230\u684c\u9762_\u4e0b\u8f7d\u6587\u4ef6\u5939<\/p>\n

\u56fe\u5f62\u5316\u5de5\u5177FileZilla<\/b><\/p>\n

\u5bf9\u4e0d\u719f\u6089\u547d\u4ee4\u884c\u64cd\u4f5c\u7684\u7528\u6237\u800c\u8a00\uff0c\u56fe\u5f62\u5316\u5de5\u5177\u663e\u5f97\u7279\u522b\u53cb\u597d\u3002FileZilla\u662f\u4e00\u6b3e\u88ab\u5e7f\u6cdb\u5e94\u7528\u7684FTP\u5ba2\u6237\u7aef\u3002\u5728Linux\u7cfb\u7edf\u4e0a\uff0c\u5b89\u88c5\u5b83\u975e\u5e38\u7b80\u4fbf\u3002\u5b83\u7684\u754c\u9762\u8bbe\u8ba1\u5341\u5206\u76f4\u89c2\u3002<\/p>\n

\u6253\u5f00FileZilla\uff0c\u53ea\u9700\u5728\u754c\u9762\u4e2d\u586b\u5165\u670d\u52a1\u5668\u5730\u5740\u3001\u7528\u6237\u540d\u548c\u5bc6\u7801\u7b49\u57fa\u672c\u4fe1\u606f\uff0c\u5373\u53ef\u8fde\u63a5\u5230FTP\u670d\u52a1\u5668\u3002\u4e4b\u540e\uff0c\u4f60\u4fbf\u53ef\u4ee5\u8f7b\u677e\u5730\u5728\u670d\u52a1\u5668\u4e0e\u672c\u5730\u6587\u4ef6\u5217\u8868\u95f4\u62d6\u62fd\u6587\u4ef6\u8fdb\u884c\u4e0b\u8f7d\uff0c\u64cd\u4f5c\u975e\u5e38\u7b80\u4fbf\u3002<\/p>\n

\u4e0b\u8f7d\u6587\u4ef6\u5939\u5230\u684c\u9762_linux\u4e0b\u8f7dftp\u6587\u4ef6_\u4e0b\u8f7d\u6587\u4ef6\u5939<\/p>\n

\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5<\/b><\/p>\n

\u5728\u4e0b\u8f7dFTP\u6587\u4ef6\u524d\uff0c\u52a1\u5fc5\u786e\u8ba4\u7f51\u7edc\u8fde\u63a5\u662f\u7a33\u5b9a\u7684\u3002\u4e0b\u8f7d\u4e0d\u6210\u529f\uff0c\u5f88\u53ef\u80fd\u5e76\u975e\u64cd\u4f5c\u6709\u8bef\uff0c\u800c\u662f\u7f51\u7edc\u672c\u8eab\u5b58\u5728\u95ee\u9898\u3002\u6b64\u65f6linux\u4e0b\u8f7dftp\u6587\u4ef6<\/strong>\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u6267\u884cping\u547d\u4ee4\u6765\u68c0\u6d4b\u4e0eFTP\u670d\u52a1\u5668\u7684\u8fde\u63a5\u662f\u5426\u987a\u7545\u3002<\/p>\n

\u82e5\u65e0\u6cd5ping\u901alinux mint\uff0c\u7f51\u7edc\u914d\u7f6e\u53ef\u80fd\u5b58\u5728\u7f3a\u9677\u3002\u4f8b\u5982\uff0c\u9632\u706b\u5899\u53ef\u80fd\u963b\u6b62\u4e86FTP\u7684\u8fde\u63a5\uff0c\u8fd9\u65f6\u9700\u68c0\u67e5\u5e76\u8c03\u6574\u9632\u706b\u5899\u7684\u76f8\u5173\u89c4\u5219\u3002\u53ea\u6709\u7f51\u7edc\u7545\u901a\u65e0\u963b\uff0cFTP\u6587\u4ef6\u7684\u4e0b\u8f7d\u624d\u80fd\u987a\u5229\u8fdb\u884c\u3002<\/p>\n

linux\u4e0b\u8f7dftp\u6587\u4ef6_\u4e0b\u8f7d\u6587\u4ef6\u5939_\u4e0b\u8f7d\u6587\u4ef6\u5939\u5230\u684c\u9762<\/p>\n

\u6587\u4ef6\u6743\u9650\u95ee\u9898<\/b><\/p>\n

\u5728Linux\u7cfb\u7edf\u91cc\uff0c\u4e0b\u8f7d\u6587\u4ef6\u65f6\u53ef\u80fd\u4f1a\u9047\u5230\u4fdd\u5b58\u4f4d\u7f6e\u6743\u9650\u4e0d\u8db3\u7684\u95ee\u9898\u3002\u5047\u5982\u4f60\u628a\u6587\u4ef6\u4e0b\u8f7d\u5230\u4e86\u67d0\u4e2a\u76ee\u5f55\uff0c\u4f46\u90a3\u91cc\u6ca1\u6709\u8db3\u591f\u7684\u5199\u5165\u6743\u9650\uff0c\u90a3\u4e48\u4e0b\u8f7d\u64cd\u4f5c\u5f88\u53ef\u80fd\u4f1a\u5931\u8d25\u3002<\/p>\n

\u56e0\u6b64linux\u4e0b\u8f7dftp\u6587\u4ef6<\/strong>\uff0c\u6211\u4eec\u5f97\u5148\u6838\u5b9e\u76ee\u6807\u6587\u4ef6\u5939\u7684\u8bbf\u95ee\u6743\u9650\u3002\u53ef\u4ee5\u901a\u8fc7\u8f93\u5165\u201cls-ld\u76ee\u5f55\u540d\u201d\u8fd9\u4e00\u547d\u4ee4\u6765\u5bdf\u770b\u5f53\u524d\u7684\u6743\u9650\u914d\u7f6e\u3002\u82e5\u53d1\u73b0\u6743\u9650\u4e0d\u8db3\uff0c\u6211\u4eec\u4fbf\u9700\u501f\u52a9chmod\u547d\u4ee4\u5bf9\u6743\u9650\u8fdb\u884c\u8c03\u6574\u3002\u8fd9\u6837\u505a\u53ef\u4ee5\u6709\u6548\u9632\u6b62\u56e0\u6743\u9650\u95ee\u9898\u5bfc\u81f4\u7684\u4e0b\u8f7d\u5931\u8d25\u3002<\/p>\n

linux\u4e0b\u8f7dftp\u6587\u4ef6_\u4e0b\u8f7d\u6587\u4ef6\u5939\u5230\u684c\u9762_\u4e0b\u8f7d\u6587\u4ef6\u5939<\/p>\n

\u4e86\u89e3FTP\u670d\u52a1\u5668\u7c7b\u578b<\/b><\/p>\n

FTP\u670d\u52a1\u5668\u5206\u6210\u4e86\u591a\u79cd\u6a21\u5f0f\uff0c\u4e3b\u52a8\u6a21\u5f0f\u548c\u88ab\u52a8\u6a21\u5f0f\u4fbf\u662f\u5176\u4e2d\u4e24\u79cd\u3002\u77e5\u9053\u670d\u52a1\u5668\u6240\u4f7f\u7528\u7684\u6a21\u5f0f\uff0c\u80fd\u8ba9\u6211\u4eec\u4e0b\u8f7d\u6587\u4ef6\u7684\u8fc7\u7a0b\u66f4\u52a0\u6d41\u7545\u3002<\/p>\n

\u5728\u4e3b\u52a8\u6a21\u5f0f\u4e0b\uff0c\u670d\u52a1\u5668\u4f1a\u4e3b\u52a8\u4e0e\u5ba2\u6237\u7aef\u5efa\u7acb\u6570\u636e\u8fde\u63a5\u3002\u800c\u5728\u88ab\u52a8\u6a21\u5f0f\u4e0blinux\u547d\u4ee4chm\uff0c\u5219\u662f\u5ba2\u6237\u7aef\u5411\u670d\u52a1\u5668\u53d1\u8d77\u6570\u636e\u8fde\u63a5\u7684\u8bf7\u6c42\u3002\u4e0d\u540c\u7684\u914d\u7f6e\u53ef\u80fd\u4f1a\u5f15\u53d1\u4e0b\u8f7d\u95ee\u9898\u3002\u82e5\u9047\u5230\u6b64\u7c7b\u95ee\u9898\uff0c\u53ef\u4ee5\u901a\u8fc7\u8c03\u6574\u5ba2\u6237\u7aef\u7684\u8bbe\u7f6e\u6765\u9002\u914d\u670d\u52a1\u5668\u7684\u8fd0\u884c\u6a21\u5f0f\u3002<\/p>\n

\u6211\u5df2\u7ecf\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728Linux\u7cfb\u7edf\u4e0b\u8f7dFTP\u6587\u4ef6\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u4f60\u4e0b\u8f7d\u65f6\u662f\u5426\u9047\u5230\u4e86\u4e00\u4e9b\u7279\u6b8a\u95ee\u9898\uff1f\u671f\u5f85\u4f60\u79ef\u6781\u7559\u8a00\u3001\u70b9\u8d5e\u4ee5\u53ca\u8f6c\u53d1\u8fd9\u7bc7\u6587\u7ae0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u672c\u6587\u5c06\u8be6\u5c3d\u9610\u8ff0\u5728Linux\u7cfb\u7edf\u4e2d\u4e0b\u8f7dFTP\u6587\u4ef6\u7684\u591a\u79cd\u6280\u5de7\u4ee5\u53ca\u5fc5\u987b\u6ce8\u610f\u7684\u7ec6\u8282\u3002curl\u4e5f\u662fLinux\u7cfb\u7edf\u4e2d\u5e38\u7528\u7684\u4e0b\u8f7d\u8f6f\u4ef6\u4e4b\u4e00\u3002\u77e5\u9053\u670d\u52a1\u5668\u6240\u4f7f\u7528\u7684\u6a21\u5f0f\uff0c\u80fd\u8ba9\u6211\u4eec\u4e0b\u8f7d\u6587\u4ef6\u7684\u8fc7\u7a0b\u66f4\u52a0\u6d41\u7545\u3002\u6211\u5df2\u7ecf\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5728Linux\u7cfb\u7edf\u4e0b\u8f7dFTP\u6587\u4ef6\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u4f60\u4e0b\u8f7d\u65f6\u662f\u5426\u9047\u5230\u4e86\u4e00\u4e9b\u7279\u6b8a\u95ee\u9898\uff1f<\/p>\n","protected":false},"author":1,"featured_media":293824,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[1180,2359,1140,109,1166],"class_list":["post-293823","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-c-3","tag-f-12","tag-f-3","tag-linux","tag-w-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293823","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=293823"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/293823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/293824"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=293823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=293823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=293823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}