I'm trying to get a list of files on the remote server. I call FtpClient.Dir() and in turn, the FtpClient issues an NLST.
The server returns the following error: Can't open data connection.
If I open an ftp connection through a command line, NLST (or LIST) won't work either (bad command). LS or DIR work, though. Based on that, I've tried modifying the ftpClient.Dir() method to use LS and DIR, but that doesn't work either.