flashfxp 最近連linux發現使用選項mlsd列表錯誤 報"[右] 500 Illegal PORT command.
[右] 列表錯誤"
試了下用stat -l選項正常顯示了;
查詢了命令發現:LIST
This is the normal list method.
正常的列表命令
LIST -al
This is a normal list with additional parameters which instruct the server to include hidden files.
列出所有文件(包括隱藏的)
MLSD
MLSD is a new FTP command intended to provide detailed, standardized machine readable directory listings across different server platforms.
Note: Most servers do not show hidden files when MLSD is selected. If MLSD is not supported FlashFXP will fall back to LIST or LIST -al.
MLSD是一個新的FTP命令 爲了對跨平臺的進行讀取文件目錄;大部分服務器使用mlsd不顯示隱藏的目錄。若mlsd不支持,則返回到LIST LIST -al
STAT -L
Similar to LIST above, however the directory listing is sent via the command channel. This eliminates the need for opening a data connection. This can speed up things up by a couple of seconds on a slow connection.
Note: Not very many servers support this command.
和MLSD類似,不打開數據連接.可以加速低鏈路連接;
估計是我的linux防火牆對數據通道連接進行了阻止。導致了數據連接不能建立;