定期的なミラーリングにはやはりrsyncやwget等が良いと思いますが、 FXP(サーバ間転送)も面白そうなので投稿します。 > 送信側 > 27 Entering Passive Mode (172,20,0,1,174,35) > PORT 172,20,0,2,124,170 > 502 Illegal PORT Command > 受信側 > PORT 172,20,0,1,174,35 > 500 Illegal PORT Command > PASV という事なので、PORTコマンドのIPアドレスがcontrol-connectionの 接続元と異なるからサーバから拒否されたのだと思います。 サーバ側で許可されている場合は PORT 172,20,0,1,174,35 200 PORT command successful. となり、実際にdata-connectionを開こうとした時にエラーになると思います。 おそらくサーバ側でFXPのための設定がされて無いんでしょう。 http://www.wu-ftpd.org/man/ftpaccess.html の pasv-allow / port-allow や http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_AllowForeignAddress.html を見てください。 FXPが可能なLinux用FTPクライアントと言えばftp(NetKit)でも proxyコマンドがありますね。 -- Shigenobu Otsuki <u1079009 _at_ hiroshima-u.ac.jp>
Follow-Ups: References:
- [linux-users:94968] Re: FTPでサーバ間転送についてAkinori AIZAWA
- [linux-users:94973] Re: FTPでサーバ間転送についてuemura
- Prev by Subject: [linux-users:95009] Re: 特定のドメインにだけメールが送れない
- Next by Subject: [linux-users:95012] Re: 特定のドメインにだけメールが送れない
- Previous by thread: [linux-users:94981] Re: FTPでサーバ間転送について
- Next by thread: [linux-users:95021] Re: FTPでサーバ間転送について
- Indexes:[Main][Thread]