Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
lmattera

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?