Topic "session->Dispose and odd server behavior"

Author Message
lmattera
[View user's profile]

Joined: 2013-11-12
Posts: 1
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
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.
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License