Sorry we usually cannot provide support to detailed development questions. You need to debug the detailed FTP commands that are sent and the responses received. You can compare it with other FTP client software. Most GUI-based FTP client software can display the detailed FTP log info.
For C# user, we have tested a sample program and it works fine:
-----------------------------------
static void Main(string
[] args)
{
FtpWebRequest request = (FtpWebRequest)WebRequest.Create("ftp://ftp.drivehq.com"
);
request.Method =
WebRequestMethods.Ftp
.ListDirectoryDetails;
// change it to your real username / password;.
request.Credentials =
new NetworkCredential ("USERNAME","PASWORD"
);
FtpWebResponse response = (FtpWebResponse
)request.GetResponse();
Stream
responseStream = response.GetResponseStream();
StreamReader reader = new StreamReader
(responseStream);
Console
.WriteLine(reader.ReadToEnd());
Console.WriteLine("Directory List Complete, status {0}"
, response.StatusDescription);
reader.Close();
response.Close();
}
---------------
It returns both file names and folder names.
Please note we cannot provide technical support on how to develop software; however, if you believe / fine our FTP server bugs, please contact us with more detailed info and we will fix the problem asap.