WinSCPnet Error -2146233079 Session is already opened

Advertisement

ToniJ
Guest

WinSCPnet Error -2146233079 Session is already opened

My application in VB6 uses successfully WinSCPnet.dll for connect to FTP.
With a certain FTP that has 12471 files in the root folder, this error appears when requesting the list of files.
It connect fine, but in this point:
Dim directory As winscpnet.RemoteDirectoryInfo
Set directory = mySession.ListDirectory("/")
-2146233079 Session is already opened
With other FTP, it works fine.

Any idea?

Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
35,731
Location:
Prague, Czechia

Re: WinSCPnet Error -2146233079 Session is already opened

Please post session and debug logs.

Though Session.ListDirectory never throws "Session is already opened" error.

Reply with quote

Advertisement

You can post new topics in this forum