Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

first commit

  • Loading branch information...
commit 129a08240429f02fca0f56b5411b2443da8219a7 0 parents
@lavv17 authored
Showing with 32,085 additions and 0 deletions.
  1. +23 −0 .cvsignore
  2. +5 −0 AUTHORS
  3. +3 −0  BUGS
  4. +674 −0 COPYING
  5. +29 −0 CVS/Entries
  6. +1 −0  CVS/Repository
  7. +1 −0  CVS/Root
  8. +257 −0 ChangeLog
  9. +41 −0 FAQ
  10. +58 −0 FEATURES
  11. +201 −0 INSTALL
  12. +12 −0 MIRRORS
  13. +57 −0
  14. +1,988 −0 NEWS
  15. +158 −0 README
  16. +59 −0 README.debug-levels
  17. +49 −0 README.dnssec
  18. +34 −0 README.modules
  19. +71 −0 THANKS
  20. +57 −0 TODO
  21. +166 −0
  22. +583 −0
  23. +2 −0  contrib/.cvsignore
  24. +3 −0  contrib/CVS/Entries
  25. +1 −0  contrib/CVS/Repository
  26. +1 −0  contrib/CVS/Root
  27. BIN  contrib/lftp-icon.png
  28. +4 −0 doc/.cvsignore
  29. +8 −0 doc/CVS/Entries
  30. +1 −0  doc/CVS/Repository
  31. +1 −0  doc/CVS/Root
  32. +468 −0 doc/ChangeLog
  33. +5 −0 doc/
  34. +77 −0 doc/ftpget.1
  35. +2,038 −0 doc/lftp.1
  36. +11 −0 doc/lftp.conf.5
  37. +45 −0 doc/lftpget.1
  38. +90 −0 lftp.conf
  39. +29 −0 lftp.lsm
  40. +63 −0 lftp.spec
  41. +249 −0 lib/.cvsignore
  42. +482 −0 lib/COPYING.LIB
  43. +4 −0 lib/CVS/Entries
  44. +1 −0  lib/CVS/Repository
  45. +1 −0  lib/CVS/Root
  46. +47 −0 lib/hstrerror.c
  47. +193 −0 m4/.cvsignore
  48. +15 −0 m4/CVS/Entries
  49. +1 −0  m4/CVS/Repository
  50. +1 −0  m4/CVS/Root
  51. +118 −0 m4/ChangeLog
  52. +3 −0  m4/
  53. +17 −0 m4/_inttypes_h.m4
  54. +23 −0 m4/cxx-dynamic-initializers.m4
  55. +25 −0 m4/gnu-source.m4
  56. +73 −0 m4/gnulib-cache.m4
  57. +299 −0 m4/lftp.m4
  58. +48 −0 m4/needtrio.m4
  59. +19 −0 m4/pty.m4
  60. +48 −0 m4/readline.m4
  61. +44 −0 m4/ssl.m4
  62. +12 −0 m4/terminfo.m4
  63. +130 −0 m4/va_copy.m4
  64. +18 −0 po/.cvsignore
  65. +20 −0 po/CVS/Entries
  66. +1 −0  po/CVS/Repository
  67. +1 −0  po/CVS/Root
  68. +566 −0 po/ChangeLog
  69. +25 −0 po/Makevars
  70. +58 −0 po/
  71. +109 −0 po/README.plural
  72. +2,742 −0 po/cs.po
  73. +2,810 −0 po/de.po
  74. +2,982 −0 po/es.po
  75. +2,768 −0 po/fr.po
  76. +2,760 −0 po/it.po
  77. +2,820 −0 po/ja.po
  78. +2,819 −0 po/ko.po
  79. +2,359 −0 po/lftp.pot
Sorry, we could not display the entire diff because too many files (312) changed.
23 .cvsignore
@@ -0,0 +1,23 @@
@@ -0,0 +1,5 @@
+Primary author (idea, most of the code):
+ Alexander V. Lukyanov <>
+Major contributors:
+ Glenn F. Maynard <>
3  BUGS
@@ -0,0 +1,3 @@
+This file describes some limitations or misfeatures lftp has.
+* FISH upload to Digital Unix V5.1 does not work correctly (dd bug?).
@@ -0,0 +1,674 @@
+ Version 3, 29 June 2007
+ Copyright (C) 2007 Free Software Foundation, Inc. <>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+ Preamble
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+ The precise terms and conditions for copying, distribution and
+modification follow.
+ 0. Definitions.
+ "This License" refers to version 3 of the GNU General Public License.
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+ 1. Source Code.
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+ The Corresponding Source for a work in source code form is that
+same work.
+ 2. Basic Permissions.
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+ 4. Conveying Verbatim Copies.
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+ 5. Conveying Modified Source Versions.
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+ 6. Conveying Non-Source Forms.
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+ 7. Additional Terms.
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+ 8. Termination.
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+ 9. Acceptance Not Required for Having Copies.
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+ 10. Automatic Licensing of Downstream Recipients.
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+ 11. Patents.
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+ 12. No Surrender of Others' Freedom.
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+ 13. Use with the GNU Affero General Public License.
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+ 14. Revised Versions of this License.
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+ 15. Disclaimer of Warranty.
+ 16. Limitation of Liability.
+ 17. Interpretation of Sections 15 and 16.
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+ How to Apply These Terms to Your New Programs
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <>.
+Also add information on how to contact you by electronic and paper mail.
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+ <program> Copyright (C) <year> <name of author>
+ This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
29 CVS/Entries
@@ -0,0 +1,29 @@
+/.cvsignore/1.10/Fri May 23 14:05:31 2008//
+/AUTHORS/1.1/Wed Dec 6 08:31:08 2006//
+/BUGS/1.6/Fri Sep 28 15:19:24 2007//
+/COPYING/1.4/Thu Nov 27 05:57:47 2008//
+/ChangeLog/1.47/Fri Apr 18 07:58:36 2008//
+/FAQ/1.11/Fri Dec 12 17:16:57 2008//
+/FEATURES/1.16/Mon Aug 8 04:33:46 2011//
+/INSTALL/1.9/Fri Dec 12 17:16:57 2008//
+/MIRRORS/1.16/Fri Jul 6 06:49:22 2007//
+/ Mar 30 06:13:27 2011//
+/NEWS/1.227/Mon Aug 8 04:33:46 2011//
+/README/1.26/Mon Aug 8 04:33:46 2011//
+/README.debug-levels/1.2/Fri Aug 9 11:56:16 2002//
+/README.dnssec/1.1/Thu Nov 19 12:37:28 2009//
+/README.modules/ Jun 1 19:01:11 1999//
+/THANKS/1.42/Mon Aug 8 04:33:46 2011//
+/TODO/1.78/Tue Jun 28 09:36:24 2011//
+/ May 23 14:05:32 2008/-ko/
+/ Aug 8 04:33:46 2011//
+/lftp.conf/1.24/Fri Nov 7 16:14:02 2008//
+/lftp.lsm/1.200/Tue Jun 28 09:36:41 2011//
+/lftp.spec/1.175/Tue Jun 28 09:36:41 2011//
1  CVS/Repository
@@ -0,0 +1 @@
1  CVS/Root
@@ -0,0 +1 @@
257 ChangeLog
@@ -0,0 +1,257 @@
+2008-04-06 Nix <>
+ * Provide missing bits needed for strtoumax et al.
+2007-06-15 Jakob Truelsen <>
+ * check for libintl.h.
+2006-08-22 lav
+ * link stdbool_.h to include if needed.
+2006-08-03 lav
+ * use AS_HELP_STRING everywhere.
+2006-08-02 Daniel Black <>
+ * add --enable-packager-mode to disable *FLAGS defaults.
+2006-07-22 Nix <>
+ * Synch with gnulib-20060722.
+ (jm_PREREQ_MBSWIDTH): Rename to...
+ (gl_MBSWIDTH): ... this.
+ (jm_PREREQ_HUMAN): Rename to...
+ (gl_HUMAN): ... this.
+ (jm_FUNC_MBRTOWC): Rename to...
+ (gl_MBRTOWC): ... this.
+ (gl_FILEMODE): Newly required by filemode.[ch].
+ Pull in gnulib transitive dependencies:
+ gl_ERROR): New.
+2005-12-12 Conan The Grammarian <>
+ * FAQ: some grammar fixes.
+2005-03-01 lav
+ * check for netinet/in_systm.h, netinet/ip.h.
+2005-01-21 lav
+ * check for declaration of dn_expand.
+2004-07-08 Albert Chin <>
+ * acconfig.h: drop it.
+2004-01-15 lav
+ * use AM_ICONV.
+2003-12-17 albert chin <>
+ * do AC_SYS_LARGEFILE early.
+2003-12-16 albert chin <>
+ * LOCALE_DIR no longer used; check for sscanf.
+2003-11-28 Dmitry V. Levin <>
+ * calls for AC_LIBOBJ should be quoted now
+ (autoconf >= 2.58).
+2002-08-09 Eduardo <>
+ * README.debug-levels: a minor spelling fix taken from the Debian
+ package.
+2002-07-12 Glenn Maynard <>
+ * acconfig.h, m4/lftp.m4: HAVE_POLL acconfig.
+ * lftp.conf: Fix cls/hostls aliases
+2001-12-18 Glenn Maynard <>
+ * lftp.conf: "colored ls" -> "cls" (they're both colored). Add
+ "reconnect" alias that I've used for a while.
+2001-10-27 Glenn Maynard <>
+ * add --with-profiling
+2001-10-22 Glenn Maynard <>
+ * acconfig.h: define dgettext and dcgettext when nls is disabled.
+2001-09-07 albert chin <>
+ * add trionan.o to LIBOBJS.
+ * don't distribute ltcf-*.sh.
+2001-08-07 lav
+ * acconfig.h: define inet_aton if needed.
+ * check for inet_aton.
+2001-07-24 Glenn F. Maynard <>
+ * don't optimize code for debugging.
+2001-05-11 lav
+ * config.guess, config.sub: update.
+2001-04-04 lav
+ * migrate to libtool completely.
+2000-11-30 Matthias Andree <>
+ * lftp.spec: fix for mandir!=/usr/man.
+2000-01-28 lav
+ new macro.
+ * use them.
+2000-01-17 lav
+ * use DESTDIR.
+ * acinclude.m4: try to find socklen_t analogue.
+2000-01-13 lav
+ * check for md5; add CXX flags -fno-implement-inlines,
+ -Winline.
+2000-01-07 lav
+ * check for more headers; replace strptime if not found.
+1999-10-09 lav
+ * version 2.1.2
+1999-10-06 lav
+ * acconfig.h, handle --with-socksdante.
+1999-10-05 lav
+ * acconfig.h, handle --with-socks5, define SOCKS4 for old
+ socks.
+1999-09-30 lav
+ * acinclude.m4: (READLINE_CHECK) check for header readline/readline.h.
+1999-09-29 Andreas Ley <>
+ * fix check for res_search for AIX.
+1999-09-20 lav
+ * acconfig.h: remove __USE_XOPEN.
+1999-08-11 lav
+ *, acconfig.h, acinclude.m4: define LFTP_C_INLINE,
+ use it instead of AC_C_INLINE to protect c++ inline.
+1999-08-02 lav
+ *, acconfig.h: check for res_search, vsnprintf
+ declarations, add corresponding symbols.
+1999-07-25 lav
+ *, NEWS, lftp.lsm, README: version 2.0.3
+1999-07-21 lav
+ * BUGS: new file; describe problem with ftp glob.
+1999-07-06 lav
+ * README: add download section.
+1999-07-04 lav
+ * check for res_search.
+ * acconfig.h: add HAVE_RES_SEARCH
+1999-06-27 lav
+ * version 2.0.1
+1999-06-22 lav
+ * workaround autoconf feature with multiple AC_LINK_FILES
+ * remove autoconf.patch from distribution.
+1999-06-15 lav
+ * INSTALL: refer to libstdc++ instead of libg++.
+ * README: correct wording about variables.
+ * version 2.0.0
+ * lftp.conf: remove chmod alias; misc.
+1999-06-14 lav
+ * acconfig.h: define __USE_XOPEN on linux
+1999-06-05 lav
+ * snapshot pre2.0.0-990605
+1999-06-02 lav
+ * snapshot pre2.0.0-990602
+1999-06-01 lav
+ * snapshot 990601
+1999-05-31 lav
+ * snapshot 990531
+1999-05-26 lav
+ * snapshot 990526
+1999-05-22 lav
+ * snapshot 990522
+1999-05-20 lav
+ * readline-4.0: new directory
+ *,, acinclude.m4: change for readline-4.0
+1999-05-17 lav
+ * snapshot 990517
+1999-04-30 lav
+ * snapshot 990430
+1999-04-01 lav
+ *, acinclude.m4: add check for sscanf working on const
+ strings. (for hpux9.x, report by Marko Macek)
41 FAQ
@@ -0,0 +1,41 @@
+Q: I have compile/link problems.
+A: Some common installation problems are described in the INSTALL file.
+ If your case is not covered, please send a problem report.
+Q: How can I see the greeting message from the server?
+A: Try `debug 3'. It is disabled by default to keep the screen clear in case
+ of several simultaneous connections.
+Q: Why doesn't lftp download files like this: `lftp ftp://host/path/file'?
+A: It expects an URL of a directory. To download a file use `lftpget URL'.
+Q: What is the %2F in ftp URL's?
+A: RFC1738 specifies that clients handling ftp URL's should interpret them
+ as HOME relative by default. %2F stands for leading slash pointing to
+ the root directory.
+Q: Why do the secure protocols https and ftps give the "PRNG not seeded" error
+ message?
+A: Your system probably lacks a /dev/random-like device. Create a ~/.rnd file
+ containing random characters and SSL will work. See also the OpenSSL FAQ
+ about this.
+Q: Why does lftp say that locking fails all the time? (on linux)
+A: You have compiled lftp with large file support (>2G) but your kernel
+ does not support 64-bit file-locking. Either install a better kernel
+ (e.g. linux-2.4.x) or compile lftp without large file support
+ (configure --disable-largefile)
+Q: Where is lls?
+A: !ls
+Q: Why doesn't `mirror' download files starting with a dot? I can see the files
+ using `ls -a'.
+A: Try `set ftp:list-options -a'.
+Q: ^Z doesn't work in Cygwin.
+A: Use "SET CYGWIN=TTY". This must be done before starting a shell, if any.
+Q: lftp consumes 100% CPU on MacOS X Tiger just waiting at the command prompt.
+A: See for
+ a workaround for MacOS X bug.
@@ -0,0 +1,58 @@
+LFTP includes the following features (some may be missed in this list):
+* FTP and HTTP protocols support.
+* FTP (e.g. TIS FWTK) proxy support.
+* HTTP proxy support.
+* FTP over HTTP proxy support (hftp and CONNECT method).
+* HTTPS and FTPS protocols support using GNU TLS or OpenSSL library.
+* Automatic OPIE/SKEY support in FTP protocol.
+* FXP transfers support (between two FTP servers, bypassing client machine).
+* FTP listings support: unix-style, NT, EPLF, OS/2, AS400, MacWebStar, MLSD.
+* Automatic reconnect and retry of an operation on retriable errors or timeout.
+* IPv6 support in both FTP and HTTP.
+* FISH protocol support. It uses ssh with no special program on server side.
+* SFTP protocol v3-v6 support.
+* HTTP/1.1 keep-alive support.
+* Partial WebDAV support.
+* BitTorrent protocol support (including IPv6).
+* Experimental support for SRV DNS records.
+* SOCKS support (configure option).
+* Modification time preservation (if server can report it).
+* `reget' and `reput' support.
+* Built-in mirror and reverse mirror (mirror -R).
+* Transfer rate throttling for each connection and for all connections in sum.
+* Limit for number of connections to the same site. Interruption of background
+ transfer to do a foreground operation when the limit is reached.
+* Socket options tuning: buffer size and maximum segment size.
+* Job queueing.
+* Job execution at specified time.
+* Comprehensive scripting support.
+* URL recognition in most operations.
+* Readline library is used for input.
+* Context sensitive completion.
+* Bash-like prompt extensions.
+* Launching of local shell commands.
+* Suspend support.
+* Bookmarks.
+* Aliases.
+* Saving of last directory on each site. `cd -' to go there.
+* Copying of files between two servers, e.g. between FTP and HTTP.
+* Numerous settings which can be associated with a specific server or a group.
+* Paging of remote files using external program.
+* `zcat' and `zmore' support.
+* Help for commands.
+* Command history saved in a file.
+* Transfer status includes rate and ETA.
+* File listing cache.
+* Background jobs (bash-like).
+* Job output redirection to a file or to a program via pipe.
+* Conditional commands depending on exit status of previous one.
+* Loading of binary modules at run time (configure option).
+* `pget' to download a file using several connections. `pget' download
+ can be continued as it saves a status file periodically.
+* `mirror' can download several files in parallel (--parallel option)
+ and a single file with `pget' (--use-pget-n option).
+* Slots. Each slot is a separate session, switch using Meta-{1-9} or `slot'
+ command. Refer to a slot site using pseudo URL slot:name.
@@ -0,0 +1,201 @@
+Some hints about lftp compilation
+ * ncurses or termcap development is required. If you get undefined
+references to tputs or tgetent, install ncurses-devel package.
+ * invalid exception specifications in rltypedefs.h
+Solution: install a newer readline library.
+ * multiple declarations of rl_dispatching during linking
+Solution: install a newer readline library.
+ * g++ cannot create executables
+You probably have not installed libstdc++ (or libg++). As a
+workaround, you can try `CXX=gcc configure' to avoid linking with
+ * lftp cannot resolve host names
+Try `configure --without-libresolv' - it can sometimes help.
+ * Sun C++ v5.0 compiler can be used to compile lftp. Use
+ CXX=CC CXXFLAGS="-compat=4 -features=bool" ./configure
+ * you need GNU TLS 1.0 or newer to compile with SSL support.
+Basic Installation
+ These are generic installation instructions.
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, a file
+`config.cache' that saves the results of its tests to speed up
+reconfiguring, and a file `config.log' containing compiler output
+(useful mainly for debugging `configure').
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If at some point `config.cache'
+contains results you don't want to keep, you may remove or edit it.
+ The file `' is used to create `configure' by a program
+called `autoconf'. You only need `' if you want to change
+it or regenerate `configure' using a newer version of `autoconf'.
+The simplest way to compile this package is:
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system. If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
+ Running `configure' takes awhile. While running, it prints some
+ messages telling which features it is checking for.
+ 2. Type `make' to compile the package.
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+Compilers and Options
+ Some systems require unusual options for compilation or linking that
+the `configure' script does not know about. You can give `configure'
+initial values for variables by setting them in the environment. Using
+a Bourne-compatible shell, you can do that on the command line like
+ CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+Or on systems that have the `env' program, you can do it like this:
+ env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+Compiling For Multiple Architectures
+ You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+ If you have to use a `make' that does not supports the `VPATH'
+variable, you have to compile the package for one architecture at a time
+in the source code directory. After you have installed the package for
+one architecture, use `make distclean' before reconfiguring for another
+Installation Names
+ By default, `make install' will install the package's files in
+`/usr/local/bin', `/usr/local/man', etc. You can specify an
+installation prefix other than `/usr/local' by giving `configure' the
+option `--prefix=PATH'.
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+give `configure' the option `--exec-prefix=PATH', the package will use
+PATH as the prefix for installing programs and libraries.
+Documentation and other data files will still use the regular prefix.
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=PATH' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+Optional Features
+ Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+Specifying the System Type
+ There may be some features `configure' can not figure out
+automatically, but needs to determine by the type of host the package
+will run on. Usually `configure' can figure that out, but if it prints
+a message saying it can not guess the host type, give it the
+`--host=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name with three fields:
+See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the host type.
+ If you are building compiler tools for cross-compiling, you can also
+use the `--target=TYPE' option to select the type of system they will
+produce code for and the `--build=TYPE' option to select the type of
+system on which you are compiling the package.
+Sharing Defaults
+ If you want to set default values for `configure' scripts to share,
+you can create a site shell script called `' that gives
+default values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/' if it exists, then
+`PREFIX/etc/' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+Operation Controls
+ `configure' recognizes the following options to control how it
+ Use and save the results of the tests in FILE instead of
+ `./config.cache'. Set FILE to `/dev/null' to disable caching, for
+ debugging `configure'.
+ Print a summary of the options to `configure', and exit.
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+`configure' also accepts some other, not widely useful, options.
@@ -0,0 +1,12 @@
+ Sydney, Australia
+ Sydney, Australia
+ Japan
+ Hungary
+ Austria
+ Berlin, Germany
+ Hoofddorp, Netherlands
+ Atlanta, USA
+ Iasi, Romania
+ Bradford, UK
+ Strasbourg, France
+ Karlsruhe, Germany
@@ -0,0 +1,57 @@
+ README README.debug-levels README.modules README.dnssec\
+ lib/hstrerror.c
+ TRIO = trio
+SUBDIRS = m4 doc lib $(TRIO) src po
+ if [ ! -f $(DESTDIR)$(sysconfdir)/lftp.conf ]; then \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir); \
+ $(INSTALL_DATA) $(srcdir)/lftp.conf $(DESTDIR)$(sysconfdir)/lftp.conf; \
+ fi
+ if cmp -s $(DESTDIR)$(sysconfdir)/lftp.conf lftp.conf; then \
+ echo "$(DESTDIR)$(sysconfdir)/lftp.conf is not changed and will be removed."; \
+ rm -f $(DESTDIR)$(sysconfdir)/lftp.conf; \
+ fi
+ @echo $(PACKAGE).spec updating...
+ @rm -f $(distdir)/$(PACKAGE).spec
+ @-sed "s/%define version .*/%define version $(VERSION)/" \
+ $(srcdir)/$(PACKAGE).spec > $(distdir)/$(PACKAGE).spec && \
+ cp $(distdir)/$(PACKAGE).spec $(srcdir)/$(PACKAGE).spec
+ @echo $(PACKAGE).lsm updating...
+ @rm -f $(distdir)/$(PACKAGE).lsm
+ @-SIZE=`$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c | wc -c`; SIZE=`expr \( $$SIZE + 512 \) / 1024`; echo Size: $$SIZE kB; \
+ DATE=`date +%Y-%m-%d`; echo Date: $$DATE; \
+ sed -e "s/Version: .*/Version: $(VERSION)/" \
+ -e "s/[0-9]* kB $(PACKAGE)-.*\.tar\.gz/$$SIZE kB $(PACKAGE)-$(VERSION).tar.gz/" \
+ -e "s/Entered-date: .*/Entered-date: $$DATE/" \
+ $(srcdir)/$(PACKAGE).lsm > $(distdir)/$(PACKAGE).lsm && \
+ cp $(distdir)/$(PACKAGE).lsm $(srcdir)/$(PACKAGE).lsm
+ cvs commit -m $(VERSION)
+ make dist
+ cvs commit -m $(VERSION)
+ make distcheck
+ make release-ftp
+ mv $(PACKAGE)-$(VERSION).tar.gz $(REL_DIR)
+ cp -p $(PACKAGE).lsm $(REL_DIR)/$(PACKAGE)-$(VERSION).lsm
+ cd $(REL_DIR) && \
+ (addbz $(PACKAGE)-$(VERSION).tar.gz; \
+ rm -f $(PACKAGE).tar.gz && ln -s $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE).tar.gz; \
+ gpg -ba $(PACKAGE)-$(VERSION).tar.gz; \
+ gpg -ba $(PACKAGE)-$(VERSION).tar.bz2; \
+ gpg -ba $(PACKAGE)-$(VERSION).tar.xz; \
+ md5sum $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION).tar.bz2 $(PACKAGE)-$(VERSION).tar.xz > $(PACKAGE)-$(VERSION).md5sum)
+ mutt -s add < $(PACKAGE).lsm
+ cvs tag $(PACKAGE)-`echo $(VERSION) | sed 's/\./-/g'` .
1,988 NEWS
@@ -0,0 +1,1988 @@
+Version 4.3.2 - 2011-08-??
+* fixed fish protocol synchronization when ls fails on the server.
+* fixed compilation on Solaris.
+Version 4.3.1 - 2011-06-28
+* fixed a coredump in torrent on linux with a ppp interface.
+* translation updated (ru).
+Version 4.3.0 - 2011-06-17
+* new command `attach' to control a backgrounded lftp.
+* automatically fill torrent:ipv6 setting.
+* slightly improved torrent status display.
+* fixed reconnect interval (it was sometimes uninitialized).
+* several fixes for the case of cmd:parallel>1 (Fernando Gutierrez).
+Version 4.2.3 - 2011-04-29
+* don't write passwords to transfer_log.
+* new setting mirror:no-empty-dirs.
+* allow `jobs' output to be redirected.
+* don't list not connected torrent peers by default.
+* show torrent validation rate and ETA.
+Version 4.2.2 - 2011-04-11
+* fixed `cd -'.
+* fixed pget for URLs with special symbols.
+* translations updated (cs, ru).
+Version 4.2.1 - 2011-03-30
+* new setting ftp:use-ip-tos.
+* optimized torrent validation.
+* fixed fallocate call.
+* got rid of sprintf calls.
+Version 4.2.0 - 2011-03-03
+* changed ssl:verify-certificate default to yes.
+* check certificate common name in openssl case (code from curl).
+* disable weak algorithms in openssl (Ludwig Nussel <>).
+* new setting xfer:log-file (Timur Sufiev).
+* support for netkey pasword in ftp (Ryan Thomas <>).
+* added torrent ipv6 support (new setting torrent:ipv6)
+* don't accept new connections when no torrent can accept them.
+* allow to specify job numbers in `jobs' command.
+* fixed a segfault in pget when an error happens on second chunk.
+Version 4.1.3 - 2011-01-17
+* fixed a coredump in torrent (introduced in 4.1.2).
+Version 4.1.2 - 2010-12-31
+* new command ln [-s], supported by FTP (SITE [SYM]LINK), FISH, SFTP, and
+ locally via file: schema.
+* create remote symlinks in mirror -R if supported by server.
+* detect and remove duplicate peers in torrent.
+Version 4.1.1 - 2010-11-24
+* fixed job command line display.
+* fixed some warnings and compilation with old gcc compilers (Openwall).
+Version 4.1.0 - 2010-11-22
+* send path components to ftp server separately, unless TVFS is in FEAT reply.
+* save pget status at the very beginning of pget execution.
+* allow mirror pget continuation (mirror -c --use-pget).
+* allow multiple torrent startup at once (e.g. torrent *.torrent).
+* pre-allocate disk space in torrent, if posix_fallocate(3) is supported.
+* new command prefix `local'. It makes the following command use local
+ session instead of remote.
+* added torrent multi-tracker support.
+* fixed convert-mozilla-cookies cookie duplication.
+Version 4.0.10 - 2010-09-01
+* use cached file set, don't parse file listing again.
+* updated convert-netscape-cookies.
+* fixed a problem with zeroed errno in http.
+* fixed coredump on mirror --log=file when the file cannot be opened.
+* translations updated (de, ru).
+Version 4.0.9 - 2010-06-10
+* torrent: don't try to re-download invalid piece from the same peer.
+* added a short lftp.conf(5) man page (Jiri Skala).
+* fixed a problem with zeroed errno (Gabriele Balducci).
+* fixed status of mget from file: schema.
+* fixed a compilation problem on AIX (Claus K. Larsen).
+Version 4.0.8 - 2010-05-24
+* fixed get/mget -c when xfer:clobber is off.
+* fixed file verification in pget.
+* fixed ftp encoding for servers with LANG but without UTF8 feature.
+Version 4.0.7 - 2010-04-29
+* make xfer:clobber off by default.
+* limit number of attempts to upload a file (net:max-retries).
+* handle 426 ftp reply to STOR specially.
+* retry FEAT after login even after non-standard 5xx reply.
+Version 4.0.6 - 2010-03-25
+* use O_EXCL flag when xfer:clobber is off.
+* better validation of server-provided file name.
+* new setting xfer:auto-rename (off by default).
+* new setting ftp:ssl-copy-sid (for some broken servers).
+* fixed CCC ftp command to shutdown SSL connection properly.
+* fixed `pget -c' on complete files.
+Version 4.0.5 - 2009-12-21
+* added support for lighttpd listings.
+* fixed sftp rename.
+* fixed a core dump on `kill all' with pget.
+* fixed interrupting of a torrent with unresponsive tracker.
+* Czech translation updated (Petr Pisar).
+Version 4.0.4 - 2009-11-19
+* added dnssec support (Robert Story).
+* new setting cmd:stifle-rl-history to limit command history size.
+Version 4.0.3 - 2009-10-20
+* fixed exit code of mget/mput.
+* fixed compilation on some systems.
+* fixed crash of `cls -s' on MacOS X x64.
+Version 4.0.2 - 2009-09-23
+* torrent: don't try to connect back to peers which connected to us.
+Version 4.0.1 - 2009-09-17
+* ignore `Status of' line in STAT output (ftp).
+* fixed handling of files starting with a tilde in ftp.
+* fixed an infinite bind-loop in ftp.
+* fixed iconv translit usage for NetBSD.
+Version 4.0.0 - 2009-09-11
+* added torrent client.
+* automatically set time precision on FAT-like FS (linux only).
+* fixed timestamps in `mirror --ignore-time'.
+Version 3.7.15 - 2009-07-21
+* fixed http ls when a file name has encoded characters (Jiri Skala).
+* fixed core dump on `help' command.
+Version 3.7.14 - 2009-05-15
+* use line buffering for mirror log file.
+* fixed `chmod' command mode calculation.
+* fixed status line of `repeat' command.
+* fixed sftp charset translation in file listings.
+* fixed output ordering by flushing stdout before calling external programs.
+* fixed coredump in sftp when ssh process gets killed.
+Version 3.7.13 - 2009-04-30
+* fixed a coredump in some commands printing to screen.
+Version 3.7.12 - 2009-04-28
+* fixed core dump on `mput -d' command.
+* fixed a core dump on `kill' command.
+* fixed mkdir -p for sftp protocol.
+* fixed some signed/unsigned conversion bugs.
+Version 3.7.11 - 2009-03-20
+* add dynamic commands in abc order (as output by help).
+* fixed eta display (broken in 3.7.10).
+Version 3.7.10 - 2009-03-18
+* fixed pget -c.
+* fixed `exit kill' command.
+* show sleep time left in status.
+* make ftp:prefer-epsv off by default.
+* recognize a specific error message and turn off REST command.
+Version 3.7.9 - 2009-03-03
+* new setting ftp:prefer-epsv.
+* add support for IPv6 scope for link-local addresses (Arkadiusz Miskiewicz).
+* fixed compilation on OpenBSD (Kevin Lo).
+* fixed parsing of NT unix-like listings where hour is one digit.
+* gnulib sources updated, vsnprintf-posix module imported.
+Version 3.7.8 - 2009-01-23
+* fixed upload via ftps in encrypted mode.
+* gnulib sources updated.
+Version 3.7.7 - 2008-12-12
+* new ftp proxy auth type: proxy-user@host.
+* new setting ftp:trust-feat (default no).
+* changed GPL version to 3 (as gnulib modules require it).
+Version 3.7.6 - 2008-11-17
+* fixed memory corruption in zmore.
+* fixed compilation on some systems.
+Version 3.7.5 - 2008-11-07
+* new setting cmd:move-background-detach.
+* added support for number suffixes in settings (k - kibi, m - mebi, etc).
+* shutdown SSL connection before closing the socket on upload.
+* fixed mirror -RP.
+* fixed another problem with `kill all'.
+* fixed sftp directory listing with unknown entries.
+* updated gnulib.
+Version 3.7.4 - 2008-08-06
+* fixed a coredump in `kill all'.
+* fixed compilation problems on some systems.
+* used getdate from gnulib.
+Version 3.7.3 - 2008-05-23
+* added support for 2-argument SITE UTIME and MFMT commands.
+* added a workaround for paramiko sftp server.
+* included newer gnulib sources using gnulib-tool.
+* Polish translation updated (Jakub Bogusz).
+* fixed German translation encoding.
+Version 3.7.2 - 2008-05-07
+* fixed core dump when sending http cookies.
+* fixed assertion failure for ftp over http proxy (CONNECT mode).
+* fixed cwd tracking for ftps.
+Version 3.7.1 - 2008-04-18
+* use time 12:00:00 instead of 12:00:30 when the time is unknown.
+* make sftp:use-full-path on by default.
+* fixed sftp du on non-existent files.
+* GNU Lib sources updated (Nix <>).
+* fixed compilation on cygwin (Arkady Sherman <>).
+* French translation updated (Alain PORTAL <>).
+* German translation updated (Moritz Moeller-Herrmann <>).
+Version 3.7.0 - 2008-03-07
+* new setting ftp:proxy-auth-type and two new ftp proxy modes (joined-acct, open)
+ (partly based on patch from David Wolfe <>).
+* don't add the same network address multiple times; report resolved addresses.
+* added new open -s option; help for "slot" command (Laurent MONIN <>).
+* added a workaround for proftpd NLST bug.
+* added a workaround for servers sending single NL.
+* handle host key verification error in fish and sftp.
+* handle http codes 307 and 303.
+* fixed a core dump when doing "open host>file".
+* fixed CCC handling in secure ftp.
+* fixed spinning when cmd:fail-exit is true in a script.
+* included zh_HK translation (Abel Cheung <>).
+Version 3.6.3 - 2008-01-28
+* new setting sftp:use-full-path to send full path instead of home-relative.
+* don't use sftp FSETSTAT when not needed.
+* fixed core dump on `kill all' with mirror.
+* fixed sftp:charset setting.
+* fixed debug printing of sftp file handle.
+* fixed unsetting of fish:charset setting.
+* fixed compilation on systems lacking wcwidth.
+Version 3.6.2 - 2008-01-03
+* added a workaround for ftp servers which don't open data connection in
+ certain conditions.
+* don't decode URL escapes in get/put when no URL schema used.
+* fixed counting of file removal errors in mirror.
+* fixed a 2-byte buffer overflow when showing transfer percents.
+* fixed a problem with incorrect port/host name in http requests.
+* fixed coredump in du command with long paths on some systems.
+* fixed coredump in html parser on empty links.
+* fixed compilation on some systems.
+Version 3.6.1 - 2007-11-09
+* repeat --weak option to terminate the loop automatically when exiting lftp.
+* ftp:use-stat-for-list is off by default.
+* slot command fixed.
+* fixed timeout handling in ftp.
+* french and polish translations updated.
+Version 3.6.0 - 2007-10-19
+* major code cleanup.
+* new setting ftp:use-stat-for-list allows faster directory listing.
+* new command `eval' with -f option allows complex aliases.
+* send encoded parts of ftp URLs untranslated to ftp server.
+* new mirror options --on-change, --depth-first, --no-empty-dirs, --ascii.
+* new mirror option --only-existing (Damon Harper).
+* new setting xfer:log, log successful transfers if true to ~/.lftp/tarnsfer_log.
+* new setting ssl:check-hostname.
+* fixed cls exit code in case of an error.
+Version 3.5.15 - 2007-10-19
+* fixed timeout handling when waiting for 150 or 125 ftp reply.
+* fixed a bug occuring when turning off proxy server setting.
+Version 3.5.14 - 2007-08-31
+* handle ftp reply with code 125 same as code 150 (Craig Ruff).
+* french translation updated (Alain PORTAL).
+Version 3.5.13 - 2007-08-23
+* fixed ftps not to access data socket before 150 reply.
+* fixed sftp to send properly sized packets on upload.
+* fixed infinite retrying on upload.
+* fixed compilation without iconv.
+* fixed buffering in ascii mode transfers.
+Version 3.5.12 - 2007-07-26
+* hex-encode all non-ascii characters in URLs.
+* allow cross-compilation without iconv (Jakob Truelsen).
+* french translation updated (Alain PORTAL).
+Version 3.5.11 - 2007-04-11
+* fixed mirror for MDTM-less ftp servers.
+* fixed readline prompt for \[\] (visible on win32).
+* fixed compilation with Sun native compiler (Yann Rouillard).
+Version 3.5.10 - 2007-03-26
+* fixed core dump when doing ls on file: connection.
+* fixed core dump when doing pget to write-protected directory.
+Version 3.5.9 - 2007-01-09
+* fixed `mirror --script' which generated improperly quoted shell commands
+(potential security vulnerability, when someone executes the resulting script).
+Version 3.5.8 - 2006-12-28
+* fixed `sleep' command.
+Version 3.5.7 - 2006-12-08
+* Fixed a spurious timeout when uploading a file.
+Version 3.5.6 - 2006-10-12
+* fixed a coredump in mget.
+Version 3.5.5 - 2006-10-05
+* new settings cmd:parallel and cmd:queue-parallel to set number of jobs
+ executed in parallel in non-interactive mode and in a queue.
+* new mirror option --skip-noaccess and setting mirror:skip-noaccess.
+* fixed a coredump when lftp was compiled with a non-gcc compiler.
+* fixed compilation when stdbool.h is missing.
+* fixed a failed assertion.
+* fixed coredump when doing `ls ..' on a http site.
+* fixed memory and file descriptor leak in mget/mput.
+Version 3.5.4 - 2006-08-09
+* new setting mirror:include-regex.
+* load ssl keys for protected data connection as well; use new option
+ ftp:ssl-data-use-keys to disable it.
+* fixed human-readable options of du and cls.
+* fixed compilation on certain systems.
+Version 3.5.3 - 2006-08-04
+* fixed a core dump in ftps with gnu tls.
+* fixed random queue duplication.
+* fixed compilation with modules and socks.
+* fixed installation with modules.
+* added configure --enable-packager-mode option (Daniel Black
+ <>).
+Version 3.5.2 - 2006-07-28
+* strip CRs from ls output, as before.
+* updated help for pget.
+* fixed mirror -c and get -c hang.
+* fixed mirror timestamps for hftp and http.
+* fixed mirror for files starting with a tilde.
+* fixed use of PROPFIND when http:use-propfind is no.
+* fixed directory listing and globbing for ftp over http proxy.
+* updated gnulib sources (Nix <>).
+Version 3.5.1 - 2006-07-05
+* fixed a coredump in pget.
+Version 3.5.0 - 2006-07-05
+* implemented pget -c (continue) with a status file. (`set pget:save-status never'
+ to disable periodic saving of the status).
+* new options of `repeat' command: --count (-c), --delay (-d), --while-ok, --until-ok.
+* listing and dns cache optimized; added per host enable/disable for caching.
+* made ABOR more robust.
+* added support for ALLO command and ftp:use-allo setting.
+* use binary mode for `quote' (e.g. `quote POST' for http).
+* sped up uploading in fish protocol.
+* fixed coredump in pget when terminal lacks prev_line capability.
+* fixed pget for URLs with question sign.
+Version 3.4.7 - 2006-05-18
+* get1 can now automatically rename files to server suggested file name.
+* new settings fish:charset and sftp:charset (for sftp version<4).
+* fixed http chunked transfers with explicit Content-Length.
+* fixed compilation with sun c++ compiler.
+* fixed compilation without ssl.
+Version 3.4.6 - 2006-04-25
+* fixed opening sites with explicitly specified port (it could either use
+ default port or spin).
+* fixed ftps over http proxy with CONNECT method.
+Version 3.4.5 - 2006-04-22
+* handle ftp PRET errors.
+* send ssh password twice if needed, this fixes a problem with encoded
+ secret keys.
+* updated programming examples.
+* fixed cross-references between jobs/tasks libraries and lftp.
+Version 3.4.4 - 2006-04-06
+* new setting mirror:dereference.
+* new exit options: top, kill.
+* fixed stalling when uploading empty files with ftps.
+* fixed lftp exit code when cmd:at-exit is set.
+* fixed a rare spinning.
+Version 3.4.3 - 2006-03-15
+* don't create target file when source file does not exist.
+* show done jobs before exit.
+* changed default for http:use-propfind to no.
+* fixed condition for getting exact time for cls.
+* fixed coredump with non-absolute http redirection.
+* fixed coredump when exiting lftp with a done job.
+Version 3.4.2 - 2006-02-08
+* fixed a coredump in cls (option parsing).
+* import TIME_STYLE environment variable to cmd:time-style.
+Version 3.4.1 - 2006-02-07
+* new cls option --time-style, new setting cmd:time-style.
+* use PROPFIND first to check directory existence (http).
+* fixed CCC - don't try to shutdown ssl connection gracefully.
+* fixed an abortion when completing with cmd:remote-completion set to false.
+Version 3.4.0 - 2005-12-31
+* flush cache when changing ftp:charset.
+* show all queued commands on `queue' command.
+* support open ranges for `mirror --size-range'.
+* new setting dns:max-retries.
+* change dns:fatal-timeout setting to accept time interval suffixes.
+* prefer getaddrinfo over gethostbyname2.
+* treat GNUTLS_E_UNEXPECTED_PACKET_LENGTH as EOF indicator - this fixes
+ secure ftp with ProFTPD server.
+* fixed netrc usage when no user name is given.
+Version 3.3.5 - 2005-12-02
+* added mirror --older-than, --size-range and --max-errors options.
+* improved CCC support - allowed protected transfers after CCC.
+* added support for sftp v5 and v6 (experimental).
+* added configure option --with-pager.
+* fixed file uploading via protected ftp with openssl.
+* fixed compilation on cygwin.
+* fixed compilation with sun c++.
+Version 3.3.4 - 2005-11-15
+* added support for CCC command and ftp:ssl-use-ccc setting.
+* remove password from URLs when showing them on status line.
+* fixed `open -u' with an URL.
+* fixed a rare spinning.
+* fixed compilation on HP-UX.
+* fixed handling of 334 reply to AUTH command.
+Version 3.3.3 - 2005-10-21
+* added support for LFTP_HOME environment variable.
+* added workaround for proftpd's empty directories.
+* fixed `open file:/path'.
+* fixed some bugs introduced in 3.3.2.
+Version 3.3.2 - 2005-10-17
+* fixed a coredump caused by double-free.
+Version 3.3.1 - 2005-10-12
+* new setting xfer:destination-directory (default for -O option of get, mget).
+* fixed path+file combination in http - avoid double slash.
+* fixed url composition in hftp, a slash was missed.
+* fixed `open'.
+* fixed a coredump when a bookmark contained lots of quotable characters.
+* fixed a coredump when an error happened while loading CA or CRL certificates.
+* fixed uploading of empty files via ftp with ftp:ssl-protect-data on.
+* fixed exit code of slot command.
+* fixed a coredump with `kill all'.
+* fixed path extraction from html files (broken in 3.3.0).
+Version 3.3.0 - 2005-08-12
+* now plain files can be current location in http protocol.
+* report total bytes transferred and transfer rate in mirror.
+* included a script for file verification (verify-file). It can check crc32,
+ md5sum, gzip, bzip2, rpm, unzip and other things.
+* new settings xfer:verify, xfer:verify-command. When xfer:verify is on,
+ verify-command is launched after successful file transfer (to local disk)
+ to check the file consistency.
+* fixed `source -e' to allow subprocess reading from the terminal.
+* fixed `source' to return error exit code if the file is unreadable.
+* fixed `source' on large command files - some commands were truncated.
+Version 3.2.1 - 2005-05-25
+* fixed handling of file names starting with a tilde in sftp protocol.
+* fixed minor problem with `lftp -u user --help'.
+* fixed compilation with modules.
+* fixed compilation without OpenSSL and GnuTLS.
+* fixed compilation with certain compiler versions.
+* relaxed version requirement on GnuTLS.
+Version 3.2.0 - 2005-05-14
+* added support for gnutls library. Now OpenSSL is only used if explicitly
+ configured with option --with-openssl, and by default gnutls is used.
+* added parser for AS/400 ftp listing.
+* fixed a coredump in mirror when symbolic link target is unknown.
+* fixed tilde expansion in get -O argument.
+Version 3.1.3 - 2005-04-15
+* added mirror --loop option to re-mirror until no changes found.
+* fixed mirror creating too many children mirrors.
+* fixed cls and mirror with http backend, when PROPFIND returns 404 error.
+* fixed mirror --use-cache with sftp backend.
+* fixed a rare hang in sftp.
+Version 3.1.2 - 2005-04-04
+* cache negative results, new setting cache:expire-negative.
+* set http:use-propfind and http:use-mkcol automatically if those methods
+ are unsupported, so that they will not be retried.
+* handle DAV:creator-displayname in PROPFIND parser.
+* parse incorrect XML returned for PROPFIND requests as HTML.
+* fixed coredump and href handling in PROPFIND result parsing.
+* fixed sftp transfer of growing files.
+* fixed compilation with socks5 on freebsd.
+Version 3.1.1 - 2005-03-23
+* new setting ftp:ignore-pasv-address.
+* use IP TOS for ftp connections.
+* new `quote' command extentions for http: `quote move' and `quote copy'
+ for DAV operations. E.g. `quote copy index.html'.
+* fixed timeout handling when waiting for FXP source confirmation.
+* fixed http DAV method MOVE (use full URL in Destination; fixed stall).
+Version 3.1.0 - 2005-02-25
+* http DAV support added (PROPFIND, MKCOL, DELETE, MOVE).
+* new setting mirror:set-permissions.
+* added cls -r option (reverse sorting).
+* ignore non fatal STAT and FSTAT errors in sftp.
+* fixed globbing for file names starting with a tilde.
+* fixed fish and sftp for solaris 9 ssh.
+* fixed SITE UTIME and overloaded MDTM in ftp protocol.
+* fixed spinning when local disk is full.
+* fixed passive ftp mode for some broken servers.
+* fixed wrong year in cls output when the time is several hours in the future.
+* fixed Last-Modified parsing in non-english locales.
+* optimized memory usage for large directories.
+* compilation fixes for some compilers.
+Version 3.0.13 - 2004-12-20
+* man page updated.
+* fixed mirror option --no-symlinks (sense reversed).
+* fixed a coredump.
+Version 3.0.12 - 2004-12-03
+* new setting ftps:initial-prot to workaround broken ftps servers.
+ Default is empty so that lftp would assume it is not known, and if
+ PROT command is not implemented then clear data transfers would be
+ assumed.
+* ftp over http proxies with CONNECT method can now use proxy authorization.
+* mirror fixed not to chmod unchanged files (should help incremental backups).
+* fixed excluding files for sftp protocol (mirror -x).
+* fixed transfer of growing files over fish protocol.
+* fixed mkdir over hftp.
+* fixed delay between connection attempts (broken in 3.0.10).
+* Polish translation updated.
+Version 3.0.11 - 2004-11-03
+* new mirror option --no-symlinks.
+* implemented transfer continue in fish protocol (thanks to Loic Le Loarer).
+* improved completion for aliases.
+* fixed file removing in mirror --delete-first.
+* fixed FXP transfer mode (broken in 3.0.7).
+Version 3.0.10 - 2004-10-20
+* better mirror -R completion added.
+* fixed upload retry corruption bug.
+* fixed rare coredump in parallel mirror.
+* don't retry on wrong password in fish and sftp protocols.
+* don't send empty Cache-Control http header.
+* don't unconditionally chmod files in mirror.
+Version 3.0.9 - 2004-09-20
+* fixed a hang up when filtering output via an external command (the bug
+ appeared in 3.0.8).
+* don't use ftp:port-ipv4 in FXP mode.
+Version 3.0.8 - 2004-09-14
+* made http:cache-control host specific; added hftp:cache-control.
+* new setting http:authorization.
+* fixed sftp and fish protocols working with FreeBSD servers.
+* fixed transfer of zero length files when modification time is not known.
+* fixed put over fish protocol when source file grows.
+* fixed a core dump in FXP transfer mode.
+Version 3.0.7 - 2004-08-09
+* slow-start in sftp implemented.
+* ftp proxy which expects user@proxy-user@host is now supported with new
+ boolean setting ftp:proxy-auth-joined.
+* key passphrase for sftp is now supported.
+* new setting http:cache-control to set corresponding request header.
+* don't send FEAT to ftp proxy before login.
+* fixed timeout handling after FEAT command.
+* fixed find and du to show status line correctly when output goes to screen.
+* fixed shell (!) command to return proper error code.
+* fixed binding ftp data socket in non-passive mode.
+Version 3.0.6 - 2004-06-12
+* completion for bm: URL scheme implemented.
+* fixed `du' command with large files >2Gb.
+* fixed saving old directory when no cd verification is performed.
+* compilation on HP-UX fixed.
+Version 3.0.5 - 2004-05-31
+* new URL scheme bm:bookmark_name[/path] to specify bookmarked URLs.
+* fixed encrypted FXP in certain server combinations.
+* fixed ftp retrying on 4xx code when data connection was already closed.
+* fixed compilation without SSL.
+Version 3.0.4 - 2004-05-24
+* encrypted FXP is now supported with CPSV or SSCN commands.
+* new setting ftp:ssl-protect-fxp (default is no).
+* cpu usage optimizations, sftp speed-up.
+* fixed uploading of zero sized files over ftp.
+* fixed coredump when AUTH SSL was used and the server refused to setup
+ ssl connection.
+* fixed coredump on unexpected extra ftp server reply.
+* added workaround for ftp servers violating RFC2389 (format of FEAT reply).
+* added workaround for ftp servers which refuse to switch to utf-8 before login.
+* fixed compilation on systems without strtok_r.
+Version 3.0.3 - 2004-04-23
+* cls for sftp can now print symbolic user, group and number of hard links.
+* make `cd dir/' check if dir exists.
+* follow ftp:ssl-force even if ftp server does not advertise AUTH in FEAT reply.
+* fixed excessive STAT commands in FXP transfer.
+* fixed core dump when disconnecting with active FXP transfer.
+* fixed memory leak in sftp uploading and file renaming.
+Version 3.0.2 - 2004-04-15
+* support for ftp commands CLNT, HOST and OPTS MLST added.
+* ftp command MLSD disabled by default as it does not return symlink info.
+* added workaround for MLSD format bug in NcFTPd.
+* fixed spinning in cls when output stalls (e.g. cls|less).
+* fixed coredump when ftp:proxy was specified without protocol name.
+* fixed assertion failure when using ftp over http proxy with CONNECT method.
+* fixed timeout message in sftp when it is disconnected.
+* fixed compilation on systems lacking atoll function.
+Version 3.0.1 - 2004-04-06
+* fixed timeout handling in sftp.
+* fixed a coredump in case of some network errors.
+* fixed compilation with gcc-2.95.
+* fixed compilation with socks.
+* fixed compilation without ssl.
+Version 3.0.0 - 2004-04-02
+* sftp protocol support (use `sftp://user@host' URLs). sftp is a protocol
+ implemented as ssh2 subsystem, it is binary and works over a secure channel.
+* faster directory caching, no re-parsing each time.
+* ftp now follows RFC2640; FEAT, LANG, UTF8 support; new settings ftp:use-feat
+ and ftp:lang.
+* ftp can set modification time on remote files using either SITE UTIME or two
+ argument MDTM command (off by default); new settings ftp:use-site-utime and
+ ftp:use-mdtm-overloaded.
+* ftp can now use MLSD to get machine parseable file listing (ftp:use-mlsd).
+* charset translation in ftp protocol, new setting ftp:charset.
+* new mirror option --delete-first to remove old files before transferring new
+ files. By default mirror removes old files after the transfers.
+* now mirror can replace directories with plain files or symbolic links if
+ --delete (-e) option is specified.
+* ftp can now use CONNECT method of http proxies (when ftp:use-hftp is false).
+* mirror open --newer-than can now take time specification like that of at(1)
+ command, like `week ago', `now-7days' or `2004-01-01'.
+* new mirror options --ignore-size and --only-missing.
+* new mirror option --use-pget[-n=N] to make mirror use pget to transfer files.
+* debug output can now include date and time on each line (debug -t). When lftp
+ goes to background, this is turned on by default, along with pid (-p) and
+ context (-c). Try `debug -tcp' and see.
+* get1 command has now --source-region and --target-position options to get
+ a part of a file.
+* better handling of ~/.netrc - multiple logins for the same machine are
+ allowed, proper password is taken automatically from netrc if a login matches.
+* pget has now a progress bar which shows file download state.
+* new source option -e to execute output of an external program.
+* chmod -R fixed.
+* fixed cache invalidation when file name being invalidated ends with a slash.
+Version 2.6.12 - 2004-01-23
+* fixed put over https protocol.
+* fixed spinning in bg mode when an external program was still running at
+ the time of moving to background.
+* fixed compilation with IRIX MIPSPro compiler.
+Version 2.6.11 - 2003-12-22
+* fixed mirror for empty files.
+* a rare coredump fixed in http 0.9 handling, when first line of reply is empty.
+* compilation fixes for compilers other than gcc.
+* translations update.
+Version 2.6.10 - 2003-12-11
+* security fixes in html parsing code.
+* fxp between ftps session is now possible (unencrypted yet).
+* fixed a rare bug with access to freed memory in ftp.
+* fixed a bug in mirror, now it does not incorrectly append directory name
+ when target directory is the root.
+* fixed compilation on AIX.
+* Polish translation updated.
+Version 2.6.9 - 2003-11-19
+* new setting ftp:ssl-protect-list for encrypting file listings selectively.
+* don't use PRET again if it is not supported.
+* added cls --sort=time option (alias for sort=date).
+* don't set file modification time if it grew while downloading.
+* new setting cmd:verify-path-cached.
+* added long options for `open' command.
+Version 2.6.8 - 2003-10-10
+* better multibyte character support.
+* experimental ftp protocol command PRET added; new setting ftp:use-pret.
+* unblock SIGCLD signal when running external programs.
+* fixed included readline compilation.
+* fixed compilation with socks.
+Version 2.6.7 - 2003-08-29
+* new settings ftp:use-size, ftp:use-mdtm, ftp:use-telnet-iac.
+* optimized writing to local disk by increasing write size.
+* fixed size catching from 150 ftp server reply.
+* correct exit code of commands help, lftp (reported by trancefx).
+* hftp improvements from Johannes Zellner: CSM proxy support; colored listings;
+ do not print hour:minute if not known.
+* translations updated.
+* fixed a bug with saving last working directory for a site.
+* fixed a bug with FXP of zero sized files.
+* fixed a bug happening when a 5xx reply is received after QUIT is sent.
+* readline updated to version 4.3.
+Version 2.6.6 - 2003-05-28
+* raised sane mirror connection limit to 64.
+* fixed hftp file information retrieval when use-head is off (reported by
+ Robert A. Thompson).
+* ignore zero size reported by SIZE (for
+* fixed a bug with exclude/include of directories in reverse mirror.
+* several bugs with mirror --script fixed (reported by Olaf Kaehler).
+* fixed a bug with unterminated string in HTML parsing; add wwwoffle support
+ (AIDA Shinra).
+* fixed a bug with ssl settings pointing to files and directories (Diego
+ Reyes).
+* fixed a bug with sending empty path in HTTP protocol (Geoffrey Lee).
+* fixed catching of file size from ftp server message 150.
+* fixed hftp with password - now it should work with all proxies as it
+ sends password in URI even when Authorization header is used.
+* new debugging command .tasks to show number of tasks.
+* now lftp does not load/save histories until it interacts with user.
+ E.g. `lftp -c command' does not update ~/.lftp/rl_history now.
+Version 2.6.5 - 2003-02-28
+* new mirror options --log=<file> and --script=<file> to produce lftp commands
+ equivalent to the actions done (log) or to be done (script) by mirror.
+ `-' as file name means stdout.
+* fixed a dead-lock when resuming FXP with passive source.
+* re-get file size and date after HTTP redirect.
+* added workarounds for proftpd.
+* handle EPIPE (Broken pipe) error as temporary network error.
+* fixed a dead-lock in HTTP retrieval after redirect.
+* added cls option --sort=date (Oskar Liljeblad).
+* fixed compilation on OpenBSD and older Solaris.
+* fixed handling of symbolic links in find.
+* lftp -f and -c options can now be combined with -d.
+* fixed slot handling in non-interactive mode.
+* fixed large file support in cat command.
+* fixed dante socks compilation (now lftp does not use poll with dante).
+* fixed data connection abort with ssl connection to wu-ftpd.
+Version 2.6.4 - 2002-12-26
+* new settings net:socket-bind-ipv4 and net:socket-bind-ipv6 to bind sockets
+ to a specific address (useful to select a specific network interface to use).
+* now reget does not start transfer if not needed.
+* ssl:verify-certificate set to no by default.
+* fixed ~ handling in find and mirror.
+Version 2.6.3 - 2002-11-04
+* fixed wrong eta calculation.
+* fixed cls when redirected output file was not writable.
+* fixed uploading of zero sized files over fish protocol.
+* fixed timezone manipulation on linux.
+* fixed a compilation problem on hp/ux.
+Version 2.6.2 - 2002-09-10
+* readline history is now stored in a file.
+* handle full-disk condition as fatal if the file is removed.
+* recursive deletion (rm -r) fixed. It used DELE instead of RMD.
+* fixed a rare core dump, usually happening on completion.
+* fixed compilation with modules.
+Version 2.6.1 - 2002-08-10
+* fixed core dump when handling Content-Disposition.
+* fixed core dump when specifying zero queue position (Glenn Maynard).
+* fixed ETA rounding - it was possible to see 1h60m (reported by Igor Zhbanov
+ <>).
+* a number of compile problems fixed.
+Version 2.6.0 - 2002-08-02
+* separated rate limitations for download and upload (set limit-rate 200:100).
+* added SSL certificate support and several SSL related settings.
+* connection slot support. Now you can switch sessions with Meta-[123...]
+ or with command `slot <name>'. You can also use slot:<name> as a pseudo-URL.
+* per-slot queues. Now you can have several queues for the same site using
+ different slots.
+* queue can be stopped now. Use `queue' with no args to create a stopped
+ queue, `queue start' to run it, `queue stop' to stop it. When you exit lftp,
+ the queue will start automatically.
+* mirror now appends source base name to target if target ends with a slash.
+* improved hftp:proxy setting. Now it defaults to http:proxy and is not
+ needed if ftp:proxy is set to `http://...'.
+* fixed mirror in case of server without MDTM command (Glenn Maynard).
+* mirror could start multiple transfers if it could not cd to a direcory,
+ even without --parallel (test case by Glenn Maynard).
+* fixed fd leak in `(commands)' structure (Glenn Maynard).
+* fixed memory leak in '(commands)'.
+Version 2.5.4 - 2002-06-05
+* fixed double free problem introduced in version 2.5.3.
+* compilation fixes (Glenn Maynard).
+Version 2.5.3 - 2002-06-02
+* security fix: long error message from ftp server could cause buffer overflow.
+* fixed ftp:fix-pasv-address. Now the address should be fixed properly.
+* handle HTTP `100 Continue' in any open mode.
+* status line fixed: don't write a space to last screen column.
+* security fix: check that addresses have proper length (Michail Litvak).
+* migrated to gettext-0.11.2 and automake-1.6.1.
+Version 2.5.2 - 2002-05-07
+* new setting ftp:fxp-force to disable copying data over client.
+* new settings cache:enable, cache:expire and cache:size for cache control.
+* create parent directories of target mirror directory.
+* ignore any error 550 for NLST if no file name is given.
+* fixed ftp request to http proxy - port number could be missing.
+* change http request to GET after redirection from a POST request.
+* handle relative redirect location from a POST request correctly.
+* try next peer address if server disconnects without greeting message.
+* a memory leak fixed (Glenn Maynard).
+* fixed compilation on case-insensitive systems.
+Version 2.5.1 - 2002-04-16
+* translations updated.
+* fixed a failed assertion when cls redirection could not create file.
+* fixed a rare coredump when host name becomes unresolvable.
+* fixed occasional spinning in mirror.
+* fixed some bugs in trio_sscanf function.
+* fixed flood of waitpid errors when lftp forks into background.
+Version 2.5.0a - 2002-03-12
+* make it compile without ssl.
+Version 2.5.0 - 2002-03-06
+* mirror understands URLs now. It can mirror between two ftp sites, for
+ example: `mirror ftp://site1/path1 ftp://site2/path2'. It will use FXP
+ if possible.
+* mirror can now upload/download certain files first based on pattern list,
+ new setting mirror:order contains the pattern list.
+* mirror has now options -X and -I which allow to specify exclude and include
+ as shell glob patterns. E.g. `mirror -X *.bak'.
+* mirror can now set file owner/group if it can (--allow-chown option).
+* mirror options -t, -T, --time-prec and --loose-time-prec are now obsolete,
+ so are settings mirror:time-prec and mirror:loose-time-prec.
+* find can now understand URLs and plain files specified on command line
+ (Glenn Maynard, Alexander Lukyanov)
+* chmod can now handle symbolic modes and can work recursively (Glenn Maynard).
+* now plain ls can also use color for file names.
+* new setting xfer:disk-full-fatal. When it is false, lftp waits for more disk
+ space instead of cancelling transfers in case of full disk (Glenn Maynard,
+ Alexander Lukyanov).
+* cls improved (Glenn Maynard).
+* `bookmark list' hides passwords now.
+Version 2.4.10a - 2002-03-10
+* missed file triostr.h was added.
+Version 2.4.10 - 2002-02-26
+* newer trio library with scanf fix.
+* try another FXP mode (fxp-passive-source on/off) on any 425 reply.
+* translations updated.
+* fixed lftpget -v.
+Version 2.4.9 - 2002-01-30
+* use trio library if system's printf is broken with %lld.
+* fixed single quote escaping in several places.
+* fixed coredump if service is unknown.
+* fixed keep-alive for http/1.1.
+* fixed uploading in ssl enabled ftp when data connection is protected.
+* don't send AUTH TLS to ftp proxy.
+* fixed fish protocol module.
+Version 2.4.8 - 2001-12-04
+* fixed rm and rmdir - they were actually interchanged in 2.4.7.
+* fixed listing parser in Fish protocol, now it extracts all information.
+* force LC_NUMERIC to C, this fixes floating point settings initialization.
+* fixed assertion failure when setting ftp proxy after establishing
+ connection to an ftp server.
+* fixed a memory leak and some other bugs in cls (Glenn Maynard).
+Version 2.4.7 - 2001-11-12
+* du command (Glenn Maynard).
+* fixed coredump in `mget -E', introduced in 2.4.6.
+* speed-optimized directory listing parsing.
+* fixed EPLF listings.
+Version 2.4.6 - 2001-10-30
+* new setting ftp:timezone to select time zone of file listings.
+* new setting fish:shell to select remote shell, default is /bin/sh.
+* translation updates.
+* optimized cpu usage in ascii mode transfer (Glenn Maynard).
+* restore prompt when remote completion is interrupted with ^C.
+* fixed local tilde completion.
+* compilation fixes.
+Version 2.4.5 - 2001-10-17
+* fish protocol support improved. Now password can be used for authentication.
+* new command `cls' - colored ls (Glenn Maynard).
+* colored completion file list, like cls (Glenn Maynard).
+* `ls' and `cls' now display status before listing is printed.
+* accept @ in URL passwords (Jonas Jensen).
+* added a workaround for WarFTPD ABOR glitch.
+* new configure option --with-included-readline.
+* powerpc fixes (Aaron Schrab).
+* fixed a coredump on exit.
+* fixed home directory glitches (reported by Glenn Maynard).
+Version 2.4.4 - 2001-09-13
+* sometimes lftp forgot to send CWD to restore working directory
+ after reconnect - fixed (bug introduced in 2.4.2).
+* trio updated.
+Version 2.4.3 - 2001-09-05
+* man page updated.
+* sometimes lftp did not expand tilde in remote path - fixed.
+* fixed `bookmark add' in cygwin port.
+Version 2.4.2 - 2001-08-23
+* new setting ftp:home to specify starting directory explicitly. Set it
+ to `/' to override RFC1738 ftp url semantics if you don't like the
+ look of `ftp://host/%2Fpath'.
+* fixed validation of ftp:ssl-auth.
+* fixed a coredump with assertion "res==Ftp::OK" failed.
+* improved abort sequence for passive mode, now wu-ftpd does not hang.
+* compile properly when configured with modules.
+* compilation fixes.
+Version 2.4.1 - 2001-08-08
+* translation updates.
+* fixed a coredump due to incorrect memory allocation.
+* compilation fixes.
+Version 2.4.0 - 2001-07-30
+* fish protocol support (over plain ssh connection).
+* use CONNECT method for https over http proxy.
+* support for variable name completion (Nicolas Noble).
+* queue editing support (Glenn F. Maynard).
+* support http keep-alive in case of chunked transfer encoding.
+* terminate some never-ending jobs before moving to background.
+* included trio for systems lacking vsnprintf (Albert Chin).
+* support for HTTP/1.1 416 reply code.
+* support for ftp ACCT command (ftp:acct variable) and for SITE GROUP command
+ (ftp:site-group variable). E.g. `set ftp:acct/user@host account/password'.
+* new setting ftp:port-ipv4 to specify explicitly IP address sent with PORT
+ command (suggested by Julien Oster and Jonas Jensen with patches).
+* new setting ftp:ssl-auth to specify AUTH argument to use (SSL, TLS, TLS-C
+ or TLS-P).
+* roxen directory listing support.
+* fixed reget of non-existent files.
+* fixed restart of transfer in FXP mode.
+* fixed rare live-lock in open (it required dns:use-fork=no and happened
+ rarely).
+* fixed a memory leak happening in resolver when dns:use-fork=no.
+* fixed debug redirection to a file (debug LEVEL -o log).
+* fixed glob for */* in http.
+* fixed a memory leak in find/mirror for ftp protocol (reported by
+ Glenn F. Maynard)
+* fixed handling of range-end==-1 in http header Content-Range:.
+Version 2.3.11 - 2001-05-24
+* new settings ftp:retry-530 and ftp:retry-530-anonymous. Retry on server
+ reply 530 for PASS command if text matches these regular expressions.
+ These settings should be useful to distinguish between overloaded server
+ (temporary condition) and incorrect password (permanent condition).
+* retry ftp login quickly on next address if the server has many (works
+ well on, for example).
+* improved fuzzy variable name matching. Exact prefix and exact name after
+ prefix are taken into account separately. E.g. http:pro is not ambigous
+ now between http:proxy and https:proxy.
+* implemented -c option for reverse mirror (mirror -R -c).
+* french translation updated (Nicolas Noble).
+Version 2.3.10 - 2001-05-11
+* used libtool to build modules (finally).
+* allow open "" to switch to disconnected dummy session.
+* allow adding bookmark for disconnected dummy session.
+* fixed ftp listing time conversion for DST.
+* fixed http Referer generation: don't add extra /.
+* fixed two buffer overflows (reported by Julie PELAT <>)
+* fixed rare deadlock message in case of ftp timeout.
+* included gettext-0.10.37.
+* included readline-4.2.
+* new translation zh_TW (by R.I.P. Deaddog <>).
+* made `lftp@' the default ftp password.
+Version 2.3.9 - 2001-03-22
+* new setting module:path, path to look for modules.
+* new setting http:referer to send Referer: header, `.' expands to current
+ directory URL.
+* new setting hftp:use-type to disable `;type=' url suffix.
+* terminal status line support (Glenn F. Maynard <>)
+* fixed mirror exclude/include options for hftp and http.
+* ignore certain file locking errors, don't print messages.
+Version 2.3.8 - 2001-02-16
+* miscellaneous improvements.
+* fixed rate limit with closure (net:limit-rate/
+* don't bind data socket to loopback address.
+* fixed core dump after asking for ftp:proxy password.
+* fixed rare spinning in dns child process when parent terminates.
+* portability fix: make it work on SCO UNIX.
+* CygWin port: allow command files to be in ascii mode (CRLF).
+Version 2.3.7 - 2001-01-15
+* fixed OPIE/SKEY automatic password generation.
+* fixed put over http or hftp when server replies `100 Continue'.
+Version 2.3.6 - 2001-01-02
+* new setting cmd:save-cwd-history.
+* new setting ftp:fix-pasv-address, don't fix PASV address by default.
+ (this fixes a problem with certain masquerading firewalls).
+* new setting hftp:use-authorization for some proxies (default is yes).
+* send port in Host: HTTP header.
+* check net:no-proxy before using hftp instead of ftp.
+* new commands bzcat, bzmore (Chmouel Boudjnah).
+Version 2.3.5 - 2000-11-25
+* implemented [ipv6::address]:port as specified by rfc2732.
+* fixed local tilde globbing.
+* don't wait for file lock forever; print warning if locking fails.
+* save cwd_history only if needed.
+* `queue' command now sets last job number to itself.
+* optimize number of poll calls during ftp transfer.
+* fixed mput for directory case (continue loop instead of returning).
+* don't queue up too much MDTM/SIZE commands in sync mode.
+* fixed --with-modules compilation.
+Version 2.3.4 - 2000-10-13
+* fixed completion and globbing for file names starting with tilde.
+* some compilation fixes.
+Version 2.3.3 - 2000-10-01
+* fixed `ls|head'.
+* new setting ftp:bind-data-socket (bool) to disable binding of local end
+ of data connection in passive mode.
+* japanese translation (Masayuki Hatta)
+Version 2.3.2 - 2000-09-28
+* fixed bug in mirror - some files were not downloaded.
+* fixed very rare bug with assert(rate_limit!=0).
+Version 2.3.1 - 2000-09-25
+* fixed cmd:move-background handling.
+* fixed `cd ... &' in queue command.
+* fixed passive mode IPv6 ftp (Arkadiusz Miskiewicz).
+* fixed module configuration for https and ftps.
+* allow ssl path to be specified in --with-ssl=/path (David Champion).
+* spanish translation updated (Nicol�s Lichtmaier).
+Version 2.3.0 - 2000-09-18
+* https and ftps protocols support (openssl library is needed for that).
+* completion now appends a slash to remote directories (finally!).
+* new mirror option --parallel=[N] to download several files in parallel.
+* ask for password for ftp:proxy if not supplied.
+* now if you set ftp:proxy to, hftp will be used
+ automatically instead of ftp, but pwd will still show ftp://.
+* large file (>2G) support added.
+* full http keep-alive support.
+* new settings http:put-method (PUT or POST), http:put-content-type,
+ http:post-content-type.
+* new setting xfer:max-redirections for http redirections following.
+* automatic cookie accepting (off by default). New setting http:set-cookies.
+* two http specific quote commands: `quote set-cookie' and `quote post'.
+ (e.g. `quote set-cookie var=value' or `quote post /cgi-bin/script.cgi
+ var=value > output'.
+* send encoded path in http protocol as it was entered by user in URL.
+ (e.g. `get -o cba')
+* new settings http:accept, http:accept-charset, http:accept-language.