FluentFTP
FluentFTP copied to clipboard
MLSD doesn't work when it should do so
FTP OS: Unix
FTP Server: ProFTPD
Computer OS: Windows
MLSD doesn't work when it should. My FTP Server has PRET enabled and I'm not sure if it is because of that, so it may be related to #425 , but doing "client.GetListing("/path/")" doesn't give me any file while doing "client.GetListing("/path/", FtpListOption.ForceList)" does so. client.HasFeature(FtpCapability.MLSD) gives me True
Logs :
# Connect()
Status: Connecting to X
Response: 220 ProFTPD 1.2.11 Server (GNU/Linux)
Status: Detected FTP server: ProFTPD
Command: USER T
Response: 331 Password required for T.
Command: PASS ***
Response: 230 user logged in successfully.
Response: 230-
Response: 230-
Response: 230-
Command: FEAT
Response: 211 End
Response: 211-Extensions supported:
Response: MLST type*,x.crc32*,size*,modify*,unix.owner*,unix.group*,x.slaves*,x.xfertime*
Response: PRET
Response: CPSV
Response: NOOP
Response: CLNT
Response: AUTH TLS
Response: PBSZ
Response: SITE XDUPE
Response: SSCN
Status: Text encoding: System.Text.ASCIIEncoding
Command: SYST
Response: 215 UNIX system type.
Status: Auto-detected UNIX listing parser
# GetListing("/path/", Auto)
Command: TYPE I
Response: 200 Command okay
# OpenPassiveDataStream(AutoPassive, "MLSD /path", 0)
Command: EPSV
Response: 502 Command not implemented.
# OpenPassiveDataStream(PASV, "MLSD /path", 0)
Command: PRET MLSD /path
Response: 200 OK, planning to use master for upcoming LIST transfer
Command: PASV
Response: 227 Entering Passive Mode (137,74,94,147,231,76).
Response: 227- Using master for upcoming transfer
Status: Connecting to X
Command: MLSD /path
Response: 150 File status okay; about to open data connection.
+---------------------------------------+
-----------------------------------------
Status: Disposing FtpSocketStream...
# CloseDataStream()
Response: 226 Closing data connection
Status: Disposing FtpSocketStream...
Command: QUIT
Response: 221 Goodbye!
Status: Disposing FtpSocketStream...