ListDir error 40500 - WeOnlyDo Discussion board

ListDir error 40500 (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Nicholas Kellner, Wednesday, June 13, 2018, 09:03 (2003 days ago) @ wodSupport

Hi Nicholas,

in that case I would suggest you use FTPReply event and it's Command and ReplyCode/ReplyText to track exactly what's sent/received.

You can then check what other client (which I'm sure can provide same debug info) sends and see how is wodFtpDLX different.

Can you try that?

I assume you use FTP protocol. If this is not the case please let me know.


Hello Jasmine,

Yes, it's FTP. Here is the log you asked for from two diffrent sites:

From a not working site
200 Type set to A.
200 MODE Z ok.
200 MODE Z LEVEL set to 6.
227 Entering Passive Mode (62,182,216,115,144,52)
500 Command not understood.

From a working site
200 Type set to A.
504 MODE Z not allowed from your IP
227 Entering Passive Mode (172,29,1,24,216,169)
150 Opening data channel for directory listing of "/"
226 Successfully transferred "/"

Any ideas?

Complete thread: