EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Multiple masks in SFTP ListDirectory

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 11/12/2010 06:27:00
by Phil Figgins (Standard support level)
Joined: 11/03/2010
Posts: 1

Is there a way to supply multiple masks in the call to ListDirectory?

Say I have 3 types of files on a server and I want to list 2 of them. They are named Xfilename.txt, Xother.txt, and Xignore.txt; where X is a number. And, I have one of each file on the server for testing.

If I supply a filter of "*.*", all of the files are returned. "*filename.txt" returns 1filename.txt. But, "*filename.txt,*other.txt" returns no files. I've also tried separating with a semicolon, to no avail.

I tried reading the documentation, but haven't found any detailed examples.
Posted: 11/12/2010 06:52:18
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

Unfortunately, the feature you are asking about is not available at the moment. You can only provide a single DOS/Windows-compliant file mask.

You are welcome to suggest your idea at the Wishlist, and we will implement it if other users also find it useful.



Topic viewed 1021 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!