Re: lftp 4.6.1 - issue with close command
"Alexander V. Lukyanov" <[email protected]> Thu, 29 Jan 2015 09:46:21 +0300
| Newsgroups | gmane.network.lftp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 28, 2015 at 04:28:10PM -0600, System Administrator wrote: > Imagine the following scenario: > > open -u "username1,password1" -p 22 sftp://site1/ <- works > mput /tmp/site1.* <- works > close > > open -u "username2,password2" -p 22 sftp://site2/ -< fails > mput /tmp/site2.* <- since the lat open failed, still connects to site > 1 and upload a file, hence high risk. You can use one on these: set cmd:fail-exit yes or open ... || exit -- Alexander. _______________________________________________ lftp mailing list [email protected] http://univ.uniyar.ac.ru/mailman/listinfo/lftp