GetFiles and LIST/NLST - WeOnlyDo Discussion board

GetFiles and LIST/NLST (wodSFTP / wodSFTP.NET / wodSFTPdll)

by sauerc, Wednesday, August 12, 2009, 16:26 (5370 days ago)


Hello,

We use wodFtpDLX as part of an automated process to log into FTP or SFTP servers from clients and grab files for processing. Since the number of files and filename format varies client to client, we use GetFiles with LoopItem to grab the right ones. We've been doing this for years with no issues.

We recently setup the process for a new client and it's not working. When we call GetFiles it immediately fires the Done event. I logged into their server using an FTP client and have discovered that when you issue a LIST command it returns nothing but the NLST command will return the contents of the directory.

Does GetFiles use LIST internally? If so, is there a way to force it to use NLST? If not, is there something else we can do?

We're using version 2.6.3.275 according to the version tab on the DLL's properties.


Complete thread: