Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

aput wrote:

Now I am just hoping you have that wildcard logic lying around, waiting to be added to session~ListDirectory().

Check WinSCP source code.

See MaskToRegex method in dotnet/Session.cs.
aput

Thanks.

I ask because of the wildcard option that is available in session.EnumerateRemoteFiles.

For COM I solved it by writing my own wrapper for session~ListDirectory().

The wrapper adds some crippled code to do the file selection by pattern.

Now I am just hoping you have that wildcard logic lying around, waiting to be added to session~ListDirectory().

Andre
martin

Re: EnumerateRemoteFiles via COM interface

That cannot be "enabled". COM does not support generics. It would have to be a different method with interface that's possible in COM.

Will see if more people ask for this.
aput

EnumerateRemoteFiles via COM interface

Martin,

The method Session.EnumerateRemoteFiles cannot be used via COM interface.
That is what you say in the online documentation.

Are there any plans to enable that in the future?

Great package by the way, thanks!

Andre