{"id":199631,"date":"2020-08-29T00:55:50","date_gmt":"2020-08-28T16:55:50","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=199631"},"modified":"2020-08-29T00:54:45","modified_gmt":"2020-08-28T16:54:45","slug":"windows-linux-ftp","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/windows-linux-ftp.html","title":{"rendered":"\u51e0\u79cdwindows\u5230linux\u4e0a\u4f20\u6587\u4ef6\u7684\u65b9\u5f0f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e0a\u4f20\u6587\u4ef6\u90fd\u662f\u5927\u5bb6\u5728\u5de5\u4f5c\u7ecf\u5e38\u7528\u5230\u7684\uff0c\u4f46\u662f\u4ecewindows\u5230linux\u6709\u4eba\u4f1a\u7528\u7684\u6bd4\u8f83\u5c11\uff0c\u63a5\u4e0b\u6765\u6211\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u51e0\u79cd\u65b9\u5f0f\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

lrzsz\u65b9\u5f0f\u4e0a\u4f20\u6587\u4ef6<\/strong><\/div>\n

\u9996\u5148\u5b89\u88c5lrzsz\u5305<\/p>\n

[root@localhost ~]# yum install -y lrzsz<\/pre>\n

\"\"<\/p>\n

ftp\u65b9\u5f0f\u4e0a\u4f20\u6587\u4ef6<\/strong><\/div>\n
[root@localhost ~]# yum install -y vsftpd<\/pre>\n

vsftpd \u53ef\u4ee5\u591a\u79cd\u7528\u6237\uff0c\u5728\u6b64\u7528\u666e\u901a\u7528\u6237\u65b9\u5f0f<\/p>\n

[root@localhost ~]# useradd aaa<\/pre>\n
D:\\>ftp 172.16.1.101\r\n\u8fde\u63a5\u5230 172.16.1.101\u3002\r\n220 (vsFTPd 3.0.2)\r\n200 Always in UTF8 mode.\r\n\u7528\u6237(172.16.1.101:(none)): aaa\r\n331 Please specify the password.\r\n\u5bc6\u7801:\r\n230 Login successful.\r\nftp> ls\r\n200 PORT command successful. Consider using PASV.\r\n150 Here comes the directory listing.\r\n226 Directory send OK.\r\nftp> put 111.txt\r\n200 PORT command successful. Consider using PASV.\r\n150 Ok to send data.\r\n226 Transfer complete.\r\nftp> ls\r\n200 PORT command successful. Consider using PASV.\r\n150 Here comes the directory listing.\r\n111.txt\r\n226 Directory send OK.\r\nftp: \u6536\u5230 12 \u5b57\u8282\uff0c\u7528\u65f6 0.00\u79d2 12000.00\u5343\u5b57\u8282\/\u79d2\u3002\r\nftp>\r\n<\/pre>\n
xftp\u65b9\u5f0f\u4e0a\u4f20<\/strong><\/div>\n
 sftp 172.16.1.101\r\n\r\n\r\nsftp:\/root> put 111.txt\r\nUploading 111.txt to remote:\/root\/111.txt\r\n<\/pre>\n
\u603b\u7ed3<\/strong><\/div>\n

\u4ee5\u4e0a\u51e0\u79cd\u65b9\u5f0f\u6bd4\u8f83\u5e38\u7528\uff0c\u7ed3\u5408\u81ea\u5df1\u7684\u5de5\u4f5c\u9009\u62e9\u81ea\u5df1\u5408\u9002\u7684\u7528\u5427\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u9996\u5148\u5b89\u88c5lrzsz\u5305 [root@localhost ~]# yum install -y lrzsz [ro […]<\/p>\n","protected":false},"author":1469,"featured_media":199637,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-199631","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/199631","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\/1469"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=199631"}],"version-history":[{"count":8,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/199631\/revisions"}],"predecessor-version":[{"id":199855,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/199631\/revisions\/199855"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/199637"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=199631"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=199631"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=199631"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}