Home Forums ActiveX components Xceed FTP for ActiveX GetFolderContents() – case sensitive?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #42717 |

    In a function where I test to see if a file exists on the ftp server I use GetFolderContents and have noticed that in order to get a full list of , .jpg files for example, I have to make 2 calls to GetFolderContents, 1 with the wildcarad as *.jpg and the other as *.JPG. Is this an Xceed FTP Library or is this a setting on the ftp server that can be changed?

    Imported from legacy forums. Posted by dsa1971 (had 3730 views)

    User (Old forums)
    Member
    Post count: 23064

    It’s the FTP server’s behavior, and most of them are either configurable or can force an all-lower-case dir output.

    Imported from legacy forums. Posted by Martin (had 3319 views)

    User (Old forums)
    Member
    Post count: 23064

    Can you expand on how to configure that?

    Imported from legacy forums. Posted by ganders (had 900 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.