在Debian上安装Pure-FTPd; EnableUserFXP已启用,ForcePassiveIP已经过测试。服务器上没有防火墙。我已经测试了从多个服务器转移,都是不成功的。我不可能想到为什么FXP不起作用。
以下是从SENDERIP服务器通过INTERMEDIATEIP(运行FlashFXP的客户端)到具有Pure-FTPd的远程服务器的FlashFXP日志。
[01:40:57] [L] TYPE I
[01:40:57] [L] 200 Type set to I
[01:40:57] [R] TYPE I
[01:40:57] [R] 200 TYPE is now 8-bit binary
[01:40:57] [R] MLST .bashrc
[01:40:57] [R] 550 Can't check for file existence
[01:40:57] [L] PASV
[01:40:57] [L] 227 Entering Passive Mode (<SENDERIP>,194,234).
[01:40:57] [R] PORT <SENDERIP>,194,234
[01:40:57] [R] 200-FXP transfer: from <INTERMEDIATEIP> to <SENDERIP>
[01:40:57] [R] 200 PORT command successful
[01:40:57] [R] STOR .bashrc
[01:41:18] [R] 425 Could not open data connection to port 49898: Connection timed out
[01:41:18] [R] Transfer Failed!
[01:41:18] [R] Listening on PORT: 27162, Waiting for connection.
[01:41:18] [R] PORT 172,16,100,2,106,26
[01:41:19] [R] 200-FXP transfer: from <SENDERIP> to <INTERMEDIATEIP>
[01:41:19] [R] 200 PORT command successful
[01:41:19] [R] MLSD
[01:41:19] [R] 150 Connecting to port 27162
[01:41:19] [R] 226-Options: -a -l
[01:41:19] [R] 226 6 matches total
[01:41:19] [R] List Complete: 709 bytes in 0.52 seconds (1.3 KB/s)
[01:41:19] [L] PASV
[01:41:19] [L] 227 Entering Passive Mode (<SENDERIP>,187,208).
[01:41:19] [L] Opening data connection IP: <SENDERIP> PORT: 48080
[01:41:19] [L] MLSD
[01:41:20] [L] 150 Opening ASCII mode data connection for MLSD
[01:41:20] [L] 226 Transfer complete
[01:41:20] [L] List Complete: 1 KB in 0.74 seconds (1.7 KB/s)
[01:41:20] Transfer queue completed
[01:41:20] Transferred 0 Files (0 bytes) in 23.15 seconds (0.0 KB/s)
[01:41:20] 1 File Failed
这是从SENDERIP服务器通过INTERMEDIATEIP(运行FlashFXP的客户端)到DESTINATIONIP(发生故障的PureFTPd服务器)的第二个从Pure-FTPd到Pure-FTPd的日志(错误有点奇怪):
[02:03:01] [R] TYPE I
[02:03:01] [R] 200 TYPE is now 8-bit binary
[02:03:01] [R] MLST <FILE>
[02:03:01] [R] 550 Can't check for file existence
[02:03:01] [L] PASV
[02:03:02] [L] 227 Entering Passive Mode (<SENDERIP>,66,29)
[02:03:02] [R] PORT <SENDERIP>,66,29
[02:03:02] [R] 200-FXP transfer: from <INTERMEDIATEIP> to <SENDERIP>
[02:03:02] [R] 200 PORT command successful
[02:03:02] [R] STOR <FILE>
[02:03:02] [R] 150 Connecting to port 16925
[02:03:02] [L] RETR <FILE>
[02:03:02] [R] 226-43 Kbytes used (0%) - authorized: 102400 Kb
[02:03:02] [R] 226 File successfully transferred
[02:05:02] [L] Connection lost: <SENDERIP>
[02:05:02] Transferred 0 Files (0 bytes) in 2 minutes 1 seconds (0.0 KB/s)
[02:05:02] [R] Transfer Failed!
[02:05:02] [R] PASV
[02:05:02] [R] 227 Entering Passive Mode (<DESTINATIONIP>,22,91)
[02:05:02] [R] Opening data connection IP: <DESTINATIONIP> PORT: 5723
[02:05:02] [R] MLSD
[02:05:02] [R] 150 Accepted data connection
[02:05:02] [R] 226-Options: -a -l
[02:05:02] [R] 226 3 matches total
[02:05:02] [R] List Complete: 379 bytes in 0.49 seconds (0.8 KB/s)
[02:05:02] Transfer queue completed
[02:05:02] Transferred 0 Files (0 bytes) in 2 minutes 1 seconds (0.0 KB/s)
[02:05:02] 1 File Failed
我正在使用Pure-FTPd进行上传完成脚本编写功能,这就是为什么我没有切换到另一个兼容FXP的客户端。