WithEvents / ListNames not working (wodSFTP / wodSFTP.NET / wodSFTPdll)

by davecss, (39 days ago)

This is going to sound like it's the server. I am trying to use the ListNames method to get a list of what is on the server we are connecting to. We have 60 days of files on this server, so doing a GetFiles in out of the question. I am trying to use the ListNames - only to be stuck at the state of execution. Not getting passed it for over 5 minutes. That is completely unrealistic.

The alternative would be to allow a GetFiles with a wild card. I get a server error every time.

Please assist me with pointing me in the right direction. Very time sensative

WithEvents / ListNames not working

by Jasmine, (39 days ago) @ davecss

Hi,
can you tell me exactly what component (and what version of it) are you using? If you try any other client, such as FileZilla, for a test, do you experience same issues?

As for 'allowing wildcard', there's no such option in SFTP protocol, so client can't do anything from its own perspective.

We must isolate where the problem actually is, client or the server.

Jasmine

WithEvents / ListNames not working

by davecss, (39 days ago) @ Jasmine

All good. Found the code example on your website. It worked perfectly.