Hello, during testing our modified scripts with lftp, we found an issue. Trying to get a remote file, that does not exist, creates a local null byte file with the name from the get statement. This behaviour takes place in SSL and normal mode.
Here is a test screen output to show what I mean. We try to get a file named "ThisFileIsNonExistentRemote", "ls" shows ist does not exist, "!ls" shows it is created locally. =========================================================================== t000000:/uhome/p006629/script/sys> lftp lftp :~> version LFTP | Version 3.4.0 | Copyright (c) 1996-2005 Alexander V. Lukyanov LFTP is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for LFTP. See COPYING for details. Send bug reports and questions to <[email protected]>. lftp :~> source /test/lftps.rc lftp :~> open uztst101:990 lftp uztst101:~> user ftft ftft lftp [EMAIL PROTECTED]:~> ls palt/00 -rw-r--r-- 1 ftft t000000 9 Jan 23 12:29 Test.TRE -rw-r--r-- 1 ftft t000000 25 Feb 17 11:17 Xtest.txt -rw-r--r-- 1 ftft t000000 1007 Feb 1 15:13 appe -rwxrwxrwx 1 ftft t000000 1007 Jan 18 09:00 palthans -rw-r--r-- 1 ftft t000000 1007 Jan 18 11:52 ss lftp [EMAIL PROTECTED]:/> get ThisFileIsNonExistentRemote get: Access failed: 550 ThisFileIsNonExistentRemote: No such file or directory lftp [EMAIL PROTECTED]:/> !ls ThisFileIsNonExistentRemote sysftpdel2.ksh sysftpren2.ksh lftp.defaults sysftpget2.ksh sysftptest.ksh mdiff sysftpput2.ksh sysrfwatch2.kshlftp [EMAIL PROTECTED]:/> =========================================================================== Is this a bug? Trying the ftp client from AIX V 5.2 did not create the file locally. Can you please have a look into this? Regards Alexander *************************************************************************** Diese Information und eventuelle Anhaenge sind vertraulich und ausschliesslich zur Kenntnisnahme durch den oder die genannten Adressaten bestimmt. Sollten Sie nicht der vorgesehene Adressat sein, ersuchen wir Sie, uns unverzueglich zu informieren und die Nachricht zu loeschen. Der Inhalt der fehlgeleiteten Nachricht darf weder aufgezeichnet noch Unbefugten mitgeteilt oder fuer irgendwelche Zwecke verwertet werden. Bitte beachten Sie weiters, dass trotz hoechstmoeglicher Sorgfalt unsererseits aufgrund der technischen Gegebenheiten im Internet keine Verantwortung fuer die Existenz von Viren uebernommen werden kann. This message and any attachments are confidential and are only intended for the recipient(s) to which they have been addressed. If you have received this message in error, please notify the sender immediately and delete the message from your system. The contents of this misdirected mail may not be saved, recorded or used for any purpose whatsoever or made available to unauthorised persons. This message has been prepared and sent with the greatest possible care, including scanning for viruses. In spite of this, we assume no liability whatsoever for the existence of any viruses. ***************************************************************************
