Ftp.List Method Case Sensitive

Giganews Newsgroups
Subject: Ftp.List Method Case Sensitive
Posted by:  DString (dstringfell…@spyoptic.com)
Date: Mon, 15 Aug 2005

Is there a way to make the List() method of the FTP class case IN-sensitive?
I am calling the List(Indy.Sockets.IndyStrings ADest, System.String
ASpecifier, System.Boolean ADetails) overload, passing a file spec in the
ASpecifier parameter.  Setting the parameter to "*.dat" doesn't return the
same results as when the parameter is set to "*.DAT" (or any other
combination of uppercase and lowercase letters).

Thanks!

Replies