Posted: 2016-08-04 14:15
I have just installed Version 5.9 including the 5.9 Assemblies which I have added to GAC.
I am trying to use the Count property of the EnumerateRemoteFiles method, but I get an error saying that the property does not exist, here's my code:
Dim filesCount As Int32 = session.EnumerateRemoteFiles("/home/MyFolder", "*.xml", EnumerationOptions.None).Count()
I copied the code from examples.
I did an upgrade install from 5.7 to 5.9, also I have never installed the assemblies before so it's a clean setup as far as that is concerned. I also seached for all instances of WinSCP.exe and WinSCPnet.dll and the only files on the machine come from the 5.9 download.
Location: Prague, Czechia
What example? I'm not aware of any example with this code.
You can post new topics in this forum
And it's free!