Missing filenames from ListDir() - WeOnlyDo Discussion board

Missing filenames from ListDir() (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Brian, Wednesday, April 13, 2011, 17:46 (4756 days ago)

We use the FTPDlx Library in a windows service to download medical files from a remote FTP site to a local machine. One of our FTP sites is within the clients network, and is setup to use just standard FTP (not secure). For some reason when we request a list of filenames from that client a couple of files are not included in the returned list. The client has confirmed that there are no differences in the security for the files that don't appear in the list. Most files are in the list, just occasionally a couple are not.

I can tell that the files are actually on the FTP site by connecting and looking with FileZilla.

I'm using the ListDir(sPath) method. Blocking = true.

For example from Filezilla I see:
M1721379.HL7
M2929218.HL7
H4539410.HL7
H5039879.HL7
...

The list I get from ListDir has all the filenames except the top two...


Complete thread: