Page 1 of 1

ftp

Posted: 12 Oct 2007, 22:11
by mcleaver
If I have visited an ftp site and done what I need to do, then often I carry on with something else and don't bother to close down or log out. Later I then see a message that after a period of inactivity, Salamander has logged me out and it asks for confirmation. If I have finished, of course I confirm. So when I then want to change the directory, I do not expect to be asked AGAIN. Why should I need to log out again after confirming UI don't want to stay logged in?
Martin

Posted: 15 Oct 2007, 12:16
by Petr Solin
The server disconnects the client when it's inactive for longer time (the time depends on server settings). So it's not Salamander, but the server. Salamander just reports that you were disconnected. And later when you change directory on server and Salamander needs to get its listing, it must connect again and that's why it asks if you want to connect to FTP server again.

You can disable these message boxes in menu Options/Plugin Configuration/FTP Client/Confirmations - see 3rd and 5th row.

Posted: 15 Oct 2007, 23:55
by Ether
I don't think you've got the idea quite right, Petr. I think mcleaver was talking about a situation like this one:

Code: Select all

(23:44:54): Changing path to "/"...
(23:44:54): Listing path "/" from cache...
(23:44:54): Text listing was parsed by "UNIX1" server type...

Work, work.

Not working anymore.

(23:46:50): 421 No-transfer-time exceeded. Closing control connection.
I open a FTP connection, a folder listing appears in the panel. Then, after some time, a confirmation pops up, that I was disconnected. After that (with no work in the FTP panel in between) I want to change path in the panel to, say 'E:\'. A dialog appears, whether I want to disconnect, keep, ...

So, since I was disconnected, there's no reason to ask me whether to keep or not the nonexisting connection.

Posted: 16 Oct 2007, 08:34
by Petr Solin
I see, sorry for misunderstanding. It displays this confirmation message because even if connection is closed, there is still something to lose (it remembers password, etc.). Maybe we should change the message in this situation to "Close/Keep" (instead of "Disconnect/Keep") and if user disables this message, it would close FTP path in panel (instead of keeping it).

Posted: 17 Oct 2007, 23:13
by SvA
Petr Solin wrote:Maybe we should change the message in this situation to "Close/Keep" (instead of "Disconnect/Keep") and if user disables this message, it would close FTP path in panel (instead of keeping it).
I see the reason for the message, but I'm afraid, most users would not understand, even with some further explanation. Therefore I suggest you provide a "Don't show this dialog again"-checkbox on that changed dialog to permanently supress the question (with an opportunity to reenable it in the configuration's confirmations section).

Posted: 18 Oct 2007, 08:24
by Petr Solin
Yes I plan to add such checkbox to disable (not to show) this message. Probably two checkboxes to decide if to close or to keep that FTP path.