session->Dispose and odd server behavior

Advertisement

lmattera
Joined:
Posts:
1

session->Dispose and odd server behavior

Setup:
Windows 2008 (32 Bit)
WinSCP 5.1.7 & COM library
Using Active Perl and Win32::OLE to access library.

I've got an oddball SFTP server that only updates contents on acknowledgement of a QUIT command.

For some reason $session->Dispose () is not sending this so every time I log in it retrieves the same files.

If I log in through WinSCP itself and then disconnect the server updates properly.

I tried using $session->ExecuteCommand ( 'quit' ) but I don't have authorization rights to run it.

Is there any way I can force this?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: session->Dispose and odd server behavior

There's no quit command or anything similar in SFTP.

Anyway, please attach a session log file both from .NET assembly (set Session.SessionLogPath) and GUI.

Reply with quote

Advertisement

You can post new topics in this forum