Re: lftp 4.6.1 - issue with close command
"Alexander V. Lukyanov" <[email protected]> Thu, 29 Jan 2015 09:41:14 +0300
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 28, 2015 at 02:52:48PM -0600, System Administrator wrote: > I'm having an issue understanding the effect of the command *close*, as > it seems different than a disconnect. > > With lftp 4.6.1: > > open -u "username,password" -p 22 sftp://hostname/ > ls <- returns a listing > close > ls <- still connects and returns the listing ! I expected this to fail. It's correct behaviour. "close" command closes connections to the server, but the server is still selected for communication. To undo an open command, use: open "" -- Alexander. _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp