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 lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp