Re: [lftp-devel] Handling for small files

2015-02-24 Thread Alexander V. Lukyanov
On Tue, Feb 24, 2015 at 11:07:23AM +, akshay gupta wrote: I am using fish protocol. If possible, try to use sftp. Fish is not quite the most efficient option. Even ftp is better, especially with pipelining (set ftp:sync-mode off). -- Alexander. On Tue, Feb 24, 2015, 4:23 PM Alexander

Re: [lftp-devel] [lftp] Compressing data at destination machine

2014-12-02 Thread Alexander V. Lukyanov
to unmount it before changing the zip file. Do you have any other similar opensource software in mind that could also support writes. You can try the other way: ftpfs. -- Alexander. On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov l...@netis.ru wrote: On Fri, Nov 28, 2014 at 11

Re: [lftp-devel] [lftp] Compressing data at destination machine

2014-11-27 Thread Alexander V. Lukyanov
On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote: I dont want lftp to extract data from archives, I want it to compress it into archive so that it occupies less space at the destination side. Is this feasible to do in lftp? Take a look at zipfs: https://github.com/hanwen/go-fuse

Re: [lftp-devel] [lftp] Compressing data at destination machine

2014-11-25 Thread Alexander V. Lukyanov
On Tue, Nov 25, 2014 at 06:44:32PM +0530, akshay gupta wrote: I want to store the data that is being pulled by lftp mirror job in a compressed format. Is it possible that mirror function can check file download status from inside of that tar, zip etc. Is it possible to implement such a

Re: [lftp-devel] [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander V. Lukyanov
On Mon, Oct 27, 2014 at 01:30:42PM +0530, akshay gupta wrote: --- RETR test.txt --- 150 Opening BINARY mode data connection for 'test.txt' (202 bytes). Got EOF on data connection Closing data socket --- 226 Transfer complete. So the file cannot be renamed locally, right? Is there a

Re: [lftp-devel] [lftp] Bug in lftp mirror when using xfer:use-temp-file option

2014-10-27 Thread Alexander V. Lukyanov
On Mon, Oct 27, 2014 at 05:53:19PM +0530, akshay gupta wrote: now its producing 0 byte files and i am also getting input/output error here are the debug logs: copy: renaming `/mount/user/tom/test.txt_tmp_' to `test.txt' mirror: rename(/mount/user/tom/test.txt_tmp_, /mount/user/tom/test.txt):

Re: [lftp-devel] possible bug in lftp mirror using xfer:use-temp-file option

2014-10-03 Thread Alexander V. Lukyanov
On Tue, Sep 30, 2014 at 10:35:37PM +0530, akshay gupta wrote: Its causing unpredictable behaviour in case of fuse mounted file system. Please look into it if it can be resolved. Please test the new snapshot http://lftp.yar.ru/ftp/devel/lftp-4.5.5.20141003.tar.gz -- Alexander.

[lftp-devel] lftp snapshot 20140522 is available

2014-05-22 Thread Alexander V. Lukyanov
http://lftp.yar.ru/ftp/devel/lftp-4.4.99.20140522.tar.gz Please test. Most notable changes: * new setting xfer:max-log-size to limit transfer log size. -- Alexander. ___ lftp-devel mailing list lftp-devel@uniyar.ac.ru

[lftp-devel] lftp snapshot 20140513 is available

2014-05-13 Thread Alexander V. Lukyanov
http://lftp.yar.ru/ftp/devel/lftp-4.4.99.20140513.tar.gz Please test. Most notable changes: * show last disconnect cause for a few seconds in the session status. * improved torrent DHT search. -- Alexander. ___ lftp-devel mailing list

[lftp-devel] lftp snapshot 20140205 available

2014-02-05 Thread Alexander V. Lukyanov
http://lftp.yar.ru/ftp/devel/lftp-4.4.99.20140205.tar.gz Please test. CPU usage comparision for 4929376768 bytes transferred via ftp over 100Mb/s ethernet: 4.4.15 4.4.99.20140205 Ratio -- -- - user1m0.437suser

Re: [lftp-devel] Fix posix_fallocate m4 check for cross-compilation.

2013-12-15 Thread Alexander V. Lukyanov
I have applied your patch. Thanks! -- Alexander. ___ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel

Re: [lftp-devel] lftp-pre4.5.0-20131206

2013-12-13 Thread Alexander V. Lukyanov
: Alexander V. Lukyanov [mailto:l...@netis.ru] Sent: Friday, December 13, 2013 8:39 AM To: Justin Piszcz Cc: lftp-devel@uniyar.ac.ru Subject: Re: lftp-pre4.5.0-20131206 On Thu, Dec 12, 2013 at 04:24:14AM -0500, Justin Piszcz wrote: lftp is still reading 65536 buffers, but not larger than

Re: [lftp-devel] lftp-pre4.5.0-20131206

2013-12-13 Thread Alexander V. Lukyanov
On Fri, Dec 13, 2013 at 10:06:34AM -0500, Justin Piszcz wrote: 1. Yes, there are only 17 instances of EAGAIN for the first 10-20GB (test run), the strace log is now filled with read and write activity. That's great. 2. The default buffer size remains 65536 (as shown in strace) (with the

[lftp-devel] lftp-pre4.5.0-20131206

2013-12-06 Thread Alexander V. Lukyanov
A new development snapshot is available from http://lftp.yar.ru/ftp/devel/lftp-pre4.5.0-20131206.tar.gz * optimized cpu usage. * fixed file info fetching from http server. Please test. -- Alexander. ___ lftp-devel mailing list

Re: [lftp-devel] lftp-pre4.5.0-20131206

2013-12-06 Thread Alexander V. Lukyanov
BTW, I have just fixed a failed assert in heap code (removing the last heap item is a special case that was not handled properly). -- Alexander. ___ lftp-devel mailing list lftp-devel@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp-devel

Re: [lftp-devel] lftp patch for dnssec checks

2012-09-24 Thread Alexander V. Lukyanov
On Wed, Sep 05, 2012 at 11:42:14AM -0400, Robert Story wrote: - update README.dnssec - fix a typo in error message and add a warning for untrusted domains if dns:strict-dnssec is not set Patch applied. Thanks! -- Alexander. ___ lftp-devel

Re: [lftp-devel] [lftp] mirror -n -R over webdav ignores ready-mirrored files (#19)

2012-06-19 Thread Alexander V. Lukyanov
On Mon, Jun 18, 2012 at 11:47:10AM -0700, Christian Harms wrote: If found the difference. The WebDAV server cant handle the allprop-request-body. Try the PROPFIND without a request-body: Please try this patch. -- Alexander. diff --git a/src/FileSet.cc b/src/FileSet.cc index

Re: [lftp-devel] lftp find extension { -name ? -type ? -mtime ? like local GNU find }

2012-01-13 Thread Alexander V. Lukyanov
On Mon, Jan 09, 2012 at 10:57:04AM -0800, Cheng Renquan wrote: I found current lftp find command only list dir/files recursively, it's not so useful, What I expect is find could support like local GNU find that support -name ? -type ? -mtime ? those options ? -name option can be replaced by

Re: [PATCH] Ideas about the exit code of lftp

2011-06-10 Thread Alexander V. Lukyanov
On Wed, Jun 01, 2011 at 06:58:29PM +0200, Fernando Gutierrez wrote: When fixing another bug I found out the exit code lftp returned to shellscripts wasn't what I was expecting it to be. Patch applied. Thanks! -- Alexander.

Re: [PATCH] Reconfig() is not executed after set commands when using lftp -c or lftp -e

2011-06-08 Thread Alexander V. Lukyanov
On Wed, Jun 01, 2011 at 06:50:53PM +0200, Fernando Gutierrez wrote: **Problem: Certain options like cmd:parallel won't work when used with lftp -c because Reconfig is never called. This happens to all the options This patch should fix the problem properly. ResMgr::Set calls Reconfig methods of

Re: buffer overflow with certain ssh servers

2011-03-18 Thread Alexander V. Lukyanov
On Thu, Mar 17, 2011 at 01:37:53PM +, Sean Purdy wrote: On Thu, 17 Mar 2011, Alexander V. Lukyanov said: On Mon, Mar 14, 2011 at 11:08:49AM +, Sean Purdy wrote: On Mon, 14 Mar 2011, Alexander V. Lukyanov said: On Fri, Mar 11, 2011 at 04:09:17PM +, Sean Purdy wrote: I'm

Re: buffer overflow with certain ssh servers

2011-03-17 Thread Alexander V. Lukyanov
On Mon, Mar 14, 2011 at 11:08:49AM +, Sean Purdy wrote: On Mon, 14 Mar 2011, Alexander V. Lukyanov said: On Fri, Mar 11, 2011 at 04:09:17PM +, Sean Purdy wrote: I'm getting a buffer overflow when connecting to certain ssh servers with lftp. Please recompile lftp with debug

Re: [BUG] server time zone ignored in some situations

2011-03-09 Thread Alexander V. Lukyanov
On Sat, Mar 05, 2011 at 05:22:32PM -0800, Chris Moore wrote: This ends up using Ftp::ConvertFtpDate() in ftpclass.cc, which ignores the timezone, instead doing: return mktime_from_utc(tm); This is correct. MDTM command must return GMT time. From the draft-ietf-ftpext-mlst-16.txt: Time

Re: [PATCH] Add xfer:log-dir parameter to write transfer_log in arbitrary dir.

2011-02-10 Thread Alexander V. Lukyanov
On Thu, Feb 10, 2011 at 02:07:35PM +0300, Timur Sufiev wrote: On Tue, Feb 01, 2011 at 10:42:22AM +0300, Timur Sufiev wrote: I think it would be convenient to specify arbitrary directory for storing transfer_log (it is useful when several processes using lftp I think it is better to specify a

Re: [PATCH] Add xfer:log-dir parameter to write transfer_log in arbitrary dir.

2011-02-07 Thread Alexander V. Lukyanov
On Tue, Feb 01, 2011 at 10:42:22AM +0300, Timur Sufiev wrote: I think it would be convenient to specify arbitrary directory for storing transfer_log (it is useful when several processes using lftp I think it is better to specify a file name rather than a directory. Use xfer:log-file setting

Re: [PATCH] some servers needs force SSL3.0 when lftp is built with gnutls

2011-02-07 Thread Alexander V. Lukyanov
On Thu, Jul 01, 2010 at 05:17:30PM +0200, Jiri Skala wrote: Hi, some servers needs force SSL3.0 when lftp is built with gnutls. There is mandatory setting to enable this forcing: Patch applied with some changes. Thanks! -- Alexander.

Re: lftp 4.1.0 patches in Owl

2010-11-25 Thread Alexander V. Lukyanov
On Wed, Nov 24, 2010 at 01:31:15AM +0300, Solar Designer wrote: FYI, we have a couple of upstream-candidate patches in here: http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/lftp/ Thank you! Please see if those warnings/errors are fixed in lftp-4.1.1. -- Alexander.

Re: lftp 4.1.0 patches in Owl

2010-11-25 Thread Alexander V. Lukyanov
On Fri, Nov 26, 2010 at 02:46:17AM +0300, Solar Designer wrote: glob.c:23:1: warning: _GL_ARG_NONNULL redefined ./string.h:324:1: warning: this is the location of the previous definition Please send this one to gnulib maintainers. Also, JFYI, the -owl-warnings patch was by Vasiliy (CC'ed),

Re: lftp produces segmentation fault with mirror --log command (Debian BTS#551062)

2010-08-16 Thread Alexander V. Lukyanov
On Sat, Jul 31, 2010 at 09:16:31PM +0200, Noël Köthe wrote: lftp produces segmentation fault with mirror --log logfile command when logfile is under a folder which not exists. This patch should fix it. BTW, thanks for the postcard! -- Alexander. Index: MirrorJob.cc

Re: rm -r doesn't delete dotfiles in a directory (.test; #520451)

2010-08-16 Thread Alexander V. Lukyanov
On Sat, Jul 31, 2010 at 09:34:42PM +0200, Noël Köthe wrote: When I want to delete a directory recursivly this doesn't work is there are dotfiles in the directory: `set ftp:list-options -a' should fix the problem (if the server supports -a option). -- Alexander.

Re: lftp.1 patch fixes documentation error (xfer:disk-full-fatal and spelling)

2010-08-16 Thread Alexander V. Lukyanov
On Sat, Jul 31, 2010 at 09:35:08PM +0200, Noël Köthe wrote: the attached patch fixes two minor mistakes in lftp.1 Patch applied. Thanks! -- Alexander.

Re: missing comma german translation (#511137)

2010-08-16 Thread Alexander V. Lukyanov
On Sat, Jul 31, 2010 at 09:36:03PM +0200, Noël Köthe wrote: Attached a patch which fixes some minor translation, too. (CC: to the last translator) Patch applied. Thanks! -- Alexander.

Re: [PATCH] Segmentation fault when hftp used

2010-08-06 Thread Alexander V. Lukyanov
On Thu, Jul 01, 2010 at 05:03:28PM +0200, Jiri Skala wrote: I've got bug `segmentation fault` incl. backtrace. I was not able to reproduce it bug the backtrace pointed to crash in sprintf() (see patch below). I suggest value of entity_date corruption. The patch below fixes the issue

Re: --on-change option

2010-02-08 Thread Alexander V. Lukyanov
On Mon, Feb 08, 2010 at 06:56:17PM -0800, Carl Edwards wrote: I originally thought I could do --on-change=script.sh in my commands file but soon realized the man page meant lftp command not shell command. Would you be up for adding an option to fire off an external program if something has

Re: BUG: mirror creates locally directories that aren't supposed to be needed/files downloaded

2009-12-21 Thread Alexander V. Lukyanov
On Sat, Dec 05, 2009 at 09:41:30PM +0100, Arkadiusz Miskiewicz wrote: creates locally all three dirs which doesn't make sense. I would consider this to be a bug. IMO only somedir and anotherdir should be created as only these two contain files matching regexp. mirror --no-empty-dirs should

Re: Czech translation update for 4.0.4

2009-12-04 Thread Alexander V. Lukyanov
On Mon, Nov 30, 2009 at 11:46:12AM +0100, Petr Pisar wrote: updated Czech translation is attached as diff against 4.0.4 release. Patch applied. Thanks! -- Alexander..

Re: liblftp-{tasks,jobs}.la dependencies do no exist [PATCH]

2009-10-26 Thread Alexander V. Lukyanov
On Wed, Oct 14, 2009 at 02:03:54AM +0200, Jeroen Roovers wrote: On Mon, 21 Sep 2009 17:43:31 +0200 Markus Rothe mar...@unixforces.net wrote: The result is that /usr/lib64/liblftp-tasks.{a,la} and /usr/lib64/liblftp-jobs.{a,la} are installed. The .la files depend on the following files,

Re: mirror does return 0 even when it does receive 550 Permission denied errors

2009-10-16 Thread Alexander V. Lukyanov
On Tue, Oct 13, 2009 at 01:23:36PM +0300, Sorin Sbarnea wrote: I just found out that mirror command does return 0 even when it does receive 550 Permission denied from the target server. Please provide debug output of the session when this occurs. -- Alexander. |

Re: liblftp-{tasks,jobs}.la dependencies do no exist

2009-09-22 Thread Alexander V. Lukyanov
On Mon, Sep 21, 2009 at 05:43:31PM +0200, Markus Rothe wrote: The result is that /usr/lib64/liblftp-tasks.{a,la} and /usr/lib64/liblftp-jobs.{a,la} are installed. The .la files depend on the following files, which are not installed: I'll gratefully accept a patch to fix it. But I don't quite

Re: The problem with UTF-8 capable ftp sites

2009-09-16 Thread Alexander V. Lukyanov
On Wed, Sep 16, 2009 at 02:10:33PM +0300, Hasso Tepper wrote: - src/ChmodJob.cc needs to include unistd.h for strmode(3). - src/Torrent.cc needs to include sys/stat.h for mkdir(2). Fixed it. - time_t is 64 bits in recent NetBSD versions even on i386 platform, therefore these assertaions

Re: CentOS: segmentation fault after building 3.7.15

2009-09-15 Thread Alexander V. Lukyanov
On Thu, Sep 10, 2009 at 06:09:51PM +0300, Sorin Sbarnea wrote: Please send me your public key and I will make you an account on my server. I suppose you do not need root to compile and debug? Get it from http://lav.yar.ru/l...@yars.free.net-gpg-public-key -- Alexander.

Re: CentOS: segmentation fault after building 3.7.15

2009-09-10 Thread Alexander V. Lukyanov
On Tue, Sep 01, 2009 at 07:39:08PM +0300, Sorin Sbarnea wrote: If you build -3.7.15 on centos (latest version) you will get a segmentation fault when you run lftp. I don't have a centos anywhere near me. -- Alexander..

lftp-3.99.7

2009-08-04 Thread Alexander V. Lukyanov
3.99.7 fixes some problems with torrent client, including a bug with large (4g) torrents. -- Alexander..

Re: lftp-3.99.5 - cmd-torrent.so needs to be relinked

2009-07-29 Thread Alexander V. Lukyanov
On Wed, Jul 29, 2009 at 07:02:53AM +0200, Jeroen Roovers wrote: as Gentoo Linux's lftp package maintainer I was playing around with lftp-3.99 when I noticed that cmd-torrent.so isn't being linked to liblftp-network.la. Patch applied. Thanks! -- Alexander..

Re: lftp-3.99.4/testing torrent support

2009-07-28 Thread Alexander V. Lukyanov
On Tue, Jul 28, 2009 at 04:03:05AM -0500, Roger Pixley wrote: Wow that's a useful extra feature. I would assume it does seeds as well? Yes. -- Alexander..

Re: lftp-3.99.4/testing torrent support

2009-07-27 Thread Alexander V. Lukyanov
On Sun, Jul 26, 2009 at 06:00:47AM -0400, Justin Piszcz wrote: http://torrent.fedoraproject.org/torrents//Fedora-11-x86_64-DVD.torrent pread(Fedora-11-x86_64-DVD/Fedora-11-x86_64-CHECKSUM): Is a directory Please try 3.99.5, 4 had a problem with multi-file torrents. It's a test version after

lftp-3.99.0

2009-07-21 Thread Alexander V. Lukyanov
lftp-3.99.0 is a beta version of lftp with integrated torrent client. Please test. It's available from ftp://ftp.yar.ru/lftp/devel/ -- Alexander.

Re: lftp-3.99.0

2009-07-21 Thread Alexander V. Lukyanov
On Tue, Jul 21, 2009 at 02:06:18PM +0400, Alexander V. Lukyanov wrote: lftp-3.99.0 is a beta version of lftp with integrated torrent client. Please test. It's available from ftp://ftp.yar.ru/lftp/devel/ lftp-3.99.1 fixes linux problems: compilation and blocking on accepted sockets

Re: lftp feature request

2009-06-17 Thread Alexander V. Lukyanov
On Wed, Jun 17, 2009 at 05:22:21PM -0400, Justin Piszcz wrote: With lftp; lftp :~ fg fg: no current job Probably the last backgrounded job has terminated already. -- Alexander..

Re: Memory fault when SFTP transfer interrupted

2009-05-14 Thread Alexander V. Lukyanov
On Wed, May 13, 2009 at 12:51:38PM -0700, Iain Morgan wrote: interruption, I sent a SIGTERM to the ssh process or the remote sftp-server process. In either case, interrupting the transfer in such a manner caused lftp to die with a memory fault. This patch should fix the problem. --

Re: [patch[ [bug report]: incorrect handlink of link-local IPv6 addresses

2009-01-27 Thread Alexander V. Lukyanov
On Tue, Jan 27, 2009 at 02:53:08PM +0100, Arkadiusz Miskiewicz wrote: On Tuesday 27 of January 2009, Arkadiusz Miskiewicz wrote: When connecting to link-local IPv6 addressess we need to specify interface that's going to be used but lftp doesn't handle this correctly: Patch fixing issue:

Re: SSL connection terminated without SSL shutdown and most files truncated

2009-01-14 Thread Alexander V. Lukyanov
On Sun, Jan 04, 2009 at 12:59:28AM +0100, Andreas Prieß wrote: - With version 3.7.7 most files are corrupted even _without_ parallel transmission! With version 3.7.4 every file has an unclean SSL shutdown, but the files sha1 sums are ok. With version 3.7.7 most files are corrupted. As it seems

Re: lftp, gatling and sync-mode

2008-11-30 Thread Alexander V. Lukyanov
On Sat, Nov 29, 2008 at 02:57:12PM +0100, Maik Zumstrull wrote: lftp and the gatling file server don't understand each other with ftp:sync-mode on. I reported this on the gatling ML first; the author thinks the problem is likely on lftp's side. No, it's on the server's side. Correctly

Re: Bugreport: SSL connection terminated without SSL shutdown / corrupted data

2008-09-30 Thread Alexander V. Lukyanov
On Sun, Sep 28, 2008 at 05:18:32PM +0200, Andreas Prieß wrote: No errors in debug output of lftp -d, vsftpd reports: DEBUG: Connection terminated without SSL shutdown - buggy client? Has the message first appeared in vsftpd 2.0.7? I cannot get it with 2.0.6. lftp seems to upload two files in

Re: Bugreport: SSL connection terminated without SSL shutdown

2008-09-20 Thread Alexander V. Lukyanov
On Fri, Sep 05, 2008 at 07:46:35PM +0200, Andreas Prieß wrote: DEBUG: Client 87.178.121.68, Connection terminated without SSL shutdown - buggy client? Could you try attached patch, please? -- Alexander. Index: buffer_ssl.cc ===

Re: HTTP Host tag port issue (3.6.1/CVS)

2008-01-03 Thread Alexander V. Lukyanov
On Wed, Jan 02, 2008 at 06:42:53AM +0100, R. Wajda wrote: --- Host: foobar.com:foobar.com Thank you for the report. I have fixed it another way in CVS. -- Alexander. Index: url.cc === RCS file:

Re: HTTP parse_html null target

2008-01-03 Thread Alexander V. Lukyanov
On Wed, Jan 02, 2008 at 10:20:36AM +0100, R. Wajda wrote: empty target in a link causes lftp to generate coredump. Here is my patch. -- Alexander. Index: HttpDir.cc === RCS file: /home/lav/cvsroot/lftp/src/HttpDir.cc,v

Re: Problem with xstrings cast to char* under Solaris

2007-12-28 Thread Alexander V. Lukyanov
On Wed, Dec 26, 2007 at 12:27:11PM +0100, Yann Rouillard wrote: During compilation, I have several cast errors, like this one: FileCopy.cc, line 1042: Error: Cannot use const char* to initialize char*. Thanks for the report. Here is a better patch, please test. -- Alexander. Index:

Re: Problem with xstrings cast to char* under Solaris

2007-12-28 Thread Alexander V. Lukyanov
On Fri, Dec 28, 2007 at 03:14:18PM +0100, Yann Rouillard wrote: This doesn't work, I have the following error message: Sorry. The patch was for current cvs version, which has an overloaded get_tmp prototype. Please try new pre-release from ftp://ftp.yar.ru/lftp/devel/ -- Alexander.

Re: [patch] Buffer overflow

2007-12-12 Thread Alexander V. Lukyanov
On Tue, Dec 11, 2007 at 06:03:35PM +0100, Martin Nagy wrote: Since GetPercentDone() can return 100, the buffer is obviously small. Thanks for the patch! I have applied it (now in CVS). -- Alexander.

Re: bug in mirror, patch attached

2007-11-20 Thread Alexander V. Lukyanov
On Mon, Nov 19, 2007 at 04:08:21PM -, J. Maurice wrote: While trying to fetch this devel folder, lftp will always hang while waiting for the directory listing. This seems to be due to the directory being empty, and so the server just sends back a 226 reply. Apparently, Here is a better

Re: Patch for french translation

2007-10-25 Thread Alexander V. Lukyanov
On Mon, Oct 22, 2007 at 02:14:44PM +0200, Alain PORTAL wrote: Here is a patch for the french translation for lftp-3.60. Patch applied. Thanks! -- Alexander..

Re: ssl:check-hostname configuration item

2007-09-11 Thread Alexander V. Lukyanov
On Sun, Sep 09, 2007 at 05:34:56PM +0800, Lamer wrote: I'm sending you a minor patch to support ssl:check-hostname configuration item. If set to yes (default) and ssl:verify-certificate is also yes, the certificate's hostname is matched against the entered hostname. If ssl:check-hostname is

Re: Large files truncated

2007-08-22 Thread Alexander V. Lukyanov
On Mon, Aug 20, 2007 at 02:28:45PM -0500, [EMAIL PROTECTED] wrote: The problem we're having is large files being truncated in ASCII mode when lftp receives a timeout from a server where REST is not supported Please test this patch. -- Alexander. Index: FileCopy.cc

Re: French translation

2007-06-14 Thread Alexander V. Lukyanov
On Sat, Jun 09, 2007 at 04:11:04PM +0200, Alain PORTAL wrote: Because register can have several translations in french, depend upon the context, could you tell me more about this string: Module for command `%s' did not register the command.\n The message is not usually displayed. It indicates

Re: French translation

2007-06-14 Thread Alexander V. Lukyanov
On Wed, Jun 13, 2007 at 07:17:40PM +0200, Alain PORTAL wrote: - Id 219 : Invalid command. - Id 220 : Ambiguous command. there is a trailing space. Is it really needed or this is just a typo mistake? The trailing space is really needed (unless lftp is changed to add the space after

Re: mirror --only-existing option

2007-06-06 Thread Alexander V. Lukyanov
On Wed, Jun 06, 2007 at 10:01:28AM +0200, Alain PORTAL wrote: Le Wednesday 06 June 2007 06:48:03 Alexander V. Lukyanov, vous avez écrit : On Tue, Jun 05, 2007 at 02:18:42AM +0200, Alain PORTAL wrote: The --only-existing option isn't avaliable on 3.5.10 or 3.5.011 :-( It is going

Re: French translation

2007-06-05 Thread Alexander V. Lukyanov
On Tue, Jun 05, 2007 at 02:01:42AM +0200, Alain PORTAL wrote: I saw that the french translation isn't uptodate in 3.5.10 and in the svn version. If this translation is orphaned, I will be glad to adopt it. Just let me know. I think it is, but please write to the last translator to be sure.

Re: Release 3.5.11

2007-06-05 Thread Alexander V. Lukyanov
On Tue, Jun 05, 2007 at 02:07:52AM +0200, Alain PORTAL wrote: I saw that a 3.5.11 release is avaliable on some mirros, with upstream signature of the file, but isn't avaliable on upstream web site and without announce on upstream web site. The problem is that I forgot to update the site.

Re: mirror --only-existing option

2007-06-05 Thread Alexander V. Lukyanov
On Tue, Jun 05, 2007 at 02:18:42AM +0200, Alain PORTAL wrote: The --only-existing option isn't avaliable on 3.5.10 or 3.5.011 :-( It is going to appear in 3.6 -- Alexander..

Re: [PATCH] segmentation fault when do ls on local directory

2007-03-26 Thread Alexander V. Lukyanov
On Mon, Mar 26, 2007 at 10:00:09AM +0800, Liu Yubao wrote: Someone at a BBS found lftp on Debian Sid (lftp v3.5.9) gets a segmentation fault when do ls on local directory: DirList::~DirList() { delete buf; - if(args) - delete args; } This patch leads to a memory leak in

Re: [Fwd: Bug#408579: lftp: option [-p port] ignored if a path is specified]

2007-02-26 Thread Alexander V. Lukyanov
Depending on the specification of a path (/ is considered as a path) or not, the option [-p port] can be ignored. This patch should fix the problem. Index: commands.cc === RCS file: /home/lav/cvsroot/lftp/src/commands.cc,v

Re: lftp-3.5.5 new bug found: mget -c: Segmentation fault

2006-10-09 Thread Alexander V. Lukyanov
On Sat, Oct 07, 2006 at 06:29:52AM -0400, Justin Piszcz wrote: #1 0x08065449 in GetJob::Do (this=0x8360800) at GetJob.cc:47 Please test this patch. -- Alexander. Index: CopyJob.cc === RCS file:

ALLO command (was: Re: lftp-3.5.5 new bug found: mget -c: Segmentation fault)

2006-10-09 Thread Alexander V. Lukyanov
On Mon, Oct 09, 2006 at 01:17:26PM -0400, Justin Piszcz wrote: by the way, what is the ALLO 753 (filesize)? I assume this is something that was introduced recently to certain FTP daemons? Actually it is a very old command which indicates the file size before upload. Lftp started to use it

Re: Compiling lftp on Solaris with Sun Studio

2006-08-22 Thread Alexander V. Lukyanov
On Sun, Aug 20, 2006 at 01:25:45AM +0200, Yann Rouillard wrote: I maintain the lftp package for the blastwave project ( http://www.blastwave.org/ ) and I had some issues with lftp 3.5.4 under Solaris with Sun CC. I attached the patchs I applied to be able to solve the problems: Thanks for

Re: lftp 3.5.2 bug

2006-08-04 Thread Alexander V. Lukyanov
On Thu, Aug 03, 2006 at 04:08:44PM -0400, Ian Gulliver wrote: 3.5.2 official source segfaults (sometimes) after switching queue items during upload. When compiled with --with-debug and run under gdb, it outputs: Probably this patch should fix it. Please try. -- Alexander.

Re: lftp-3.5.2rc1

2006-07-26 Thread Alexander V. Lukyanov
On Wed, Jul 26, 2006 at 09:45:46AM +1000, Grant Bayley wrote: Not sure if this came through on the main lftp list yesterday, but this problem is in 3.5.1 and after some testing this morning, is still in 3.5.2rc2. Specifically, it's not respecting the http:use-propfind setting, as evidenced

lftp-3.5.2rc1

2006-07-25 Thread Alexander V. Lukyanov
What's new compared to 3.5.1: * 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. * updated gnulib sources (Nix [EMAIL PROTECTED]). lftp can be downloaded from the usual location:

Re: mirror not setting timestamps correctly

2006-07-24 Thread Alexander V. Lukyanov
On Mon, Jul 24, 2006 at 08:36:34AM -0500, Albert Chin wrote: We have a bug report from one of our customers. It seems lftp with the mirror command does not set the timestamps of local files to match those of the remote files. Both 3.3.4 and 3.5.1 seem to have this bug: These conditions must

Re: lftp - modules

2006-02-15 Thread Alexander V. Lukyanov
On Wed, Feb 15, 2006 at 10:11:17AM +0530, Vishwanath Patil wrote: Currently what happens is the Do loop of the CmdExec calls NextCmd and that in turn is readline's get which is a blocking type of call. Can a parallely add one more interface to send these commands without disturbing the

Re: file size limitation while mirroring request

2005-11-27 Thread Alexander V. Lukyanov
On Fri, Nov 25, 2005 at 05:43:48PM +0300, [EMAIL PROTECTED] wrote: #0 0x610aa5a5 in setstate () from /usr/bin/cygwin1.dll #1 0x6104ec66 in lsearch () from /usr/bin/cygwin1.dll #2 0x610844ff in cygwin1!aclcheck () from /usr/bin/cygwin1.dll #3 0x004427c2 in FileCopyPeer::~FileCopyPeer

Re: lftp/proftpd: ctrl connection close on data reset

2005-10-21 Thread Alexander V. Lukyanov
On Thu, Oct 20, 2005 at 06:40:47PM +0300, Konstantinos Koukopoulos wrote: By the way, I was thinking an ftp server will probably either enable or disable TLS on the data channel generally, not making the distinction between LISTs or other transfers (this just based on intuition, not on

Re: Patch to add support for $LFTP_HOME environment variable

2005-10-21 Thread Alexander V. Lukyanov
On Thu, Oct 20, 2005 at 04:14:15PM +0200, Nikolai Weibull wrote: Currently, lftp assumes that the user will have a directory in $HOME named .lftp for storing configuration files and auxilliary files. The handling of this directory was done separately in a couple of places in the code, so

Re: [Fwd: Bug#334292: Solution to lftp double-free-on-put]

2005-10-17 Thread Alexander V. Lukyanov
The below patch fixes this by restarted the Schedule() loop if we've deleted anything and were not at the end of the chain. (It also protects the delete call against being called on 0x0, but that might be a usual idiom in C++.) Thanks for the patch. I have used a different approach to fix

Re: lftp mailing list is on russian blackhole RBL

2005-10-10 Thread Alexander V. Lukyanov
On Mon, Oct 10, 2005 at 08:43:58AM -0400, Justin Piszcz wrote: Oct 10 05:04:53 p34 postfix/policyd-weight[5786]: weighted check: russia.blackholes.us=1.25 CL_IP_EQ_HELO_IP=-2 (check from: ac - helo: This black hole actually lists all IPs located in Russia. -- Alexander.

Re: at kill all

2005-10-06 Thread Alexander V. Lukyanov
On Thu, Oct 06, 2005 at 02:48:07PM +0200, Michael Petuschak wrote: Hi Alexander, Probably this bug is fixed in 3.3.1rc2, please test. Unfortunatelly, it's not: Ok, it is another problem. Here is a patch, please test. BTW, ElectricFence is invaluable for finding such bugs. -- Alexander.

lftp-3.3.0rc1

2005-08-04 Thread Alexander V. Lukyanov
What's new: * 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,

Re: GPL and openssl. exception needed.

2005-07-18 Thread Alexander V. Lukyanov
On Fri, Jul 15, 2005 at 03:31:12PM -0500, Albert Chin wrote: GnuTLS seems very stable, except for one strange thing about certificate verification. E.g. https://www.sun.com and https://www.ibm.com verify cleanly, but https://www.microsoft.com and https://www.adobe.com get an error. Turn

Re: GPL and openssl. exception needed.

2005-05-06 Thread Alexander V. Lukyanov
On Thu, Apr 28, 2005 at 09:33:28PM +0200, Noèl Köthe wrote: The best thing to do is to port lftp to GNU TLS. Until it is done, you have the possibility not to link with OpenSSL. Hmm, yes. Its sad, but it looks like I have to disable ssl. lftp version 3.2.0rc1 is available for testing at

Re: IPv6 precedence

2005-03-28 Thread Alexander V. Lukyanov
On Sun, Mar 27, 2005 at 10:36:36PM +0200, Tomasz Grobelny wrote: Fine, but this text snippet states that lftp.conf is used in lftp as a program. The question is: what do I have to do to have it parsed when using lftp classes in my own program? It is propably not that hard to find out,

Re: IPv6 precedence

2005-03-28 Thread Alexander V. Lukyanov
On Mon, Mar 28, 2005 at 04:13:38PM +0200, Tomasz Grobelny wrote: Modules seem to expand lftp's possibilities not the other way round. Or am I wrong? Yes, but you can implement any functionality in modules, other interface etc. So if you implement your program as a module you could run it like

Re: core dump in 3.1.0 on Debian GNU/Linux

2005-03-28 Thread Alexander V. Lukyanov
On Mon, Mar 28, 2005 at 10:29:45PM +0200, Noèl Köthe wrote: Am Montag, den 28.03.2005, 17:55 +0100 schrieb Gavin McCullagh: lftp www.ctan.org:/tex-archive/macros/latex/contrib/svninfo ls Segmentation fault (core dumped)..] I can reproduce this problem with 3.1.1: Please try

Re: Waiting for other copy peer... no time out

2005-03-15 Thread Alexander V. Lukyanov
On Tue, Mar 01, 2005 at 03:25:26AM -0500, James Wald wrote: I am pretty the root cause of this bug is DrFTPD but I was wondering if it is possible to implement a time-out for the following situation. What happens is the fxp transfer completes then I see the site stats appear from glftpd when

Re: lftp hangs on certain sites...

2005-03-11 Thread Alexander V. Lukyanov
On Thu, Mar 10, 2005 at 08:20:59AM +1100, Grant Bayley wrote: I currently use lftp (3.0.13, installed from FreeBSD ports) to mirror a bunch of HTTP-based material that's available in listings from particular sites. While lftp works like a charm for material in listings generated by Apache,

Re: Waiting for other copy peer...

2005-03-09 Thread Alexander V. Lukyanov
On Wed, Mar 09, 2005 at 03:40:20AM -0500, James Wald wrote: however, many commands do not work anymore. I opened a new instance of lftp and found the issue is also caused by cd .. so I can not get back to the root of the FTP. I'm not sure if this problem existed in previous versions but I

Re: lftp 3.1 : problem with webdav MOVE

2005-03-02 Thread Alexander V. Lukyanov
On Tue, Mar 01, 2005 at 10:10:39PM +0100, Clement Hermann wrote: However, I've got a small problem with MOVE requests, it complains about it beeing bad formated : Does this patch fix the problem? the Destination could even be another server. This is not handled by It could only be done as

Re: development question

2005-02-08 Thread Alexander V. Lukyanov
On Tue, Feb 08, 2005 at 12:06:52AM +0100, Tomasz Grobelny wrote: On Sunday 06 of February 2005 03:34, I wrote: Thanks, for now it more or less works (using Parse, not GetResult). But I have a strange problem: example2.cc as well as my program stall after receiving some data. As I noticed

Re: development question

2005-02-08 Thread Alexander V. Lukyanov
On Tue, Feb 08, 2005 at 08:39:09PM +0100, Tomasz Grobelny wrote: Thanks, works nicely. But I have at least one more question. Is it possible to obtain directory attributes in a reliable way? For files there is no problem but calling ls on a directory lists it's contents not name and

Re: development question

2005-02-03 Thread Alexander V. Lukyanov
On Thu, Feb 03, 2005 at 07:22:19PM +0100, Tomasz Grobelny wrote: I'm trying to write my own program using lftp internally and I have two questions concerning lftp: 1. Do you plan to release sth like liblftp? There are some libraries internal to lftp, they are not shared and not installed by

Re: SSL read: wrong version number

2005-01-20 Thread Alexander V. Lukyanov
On Wed, Jan 19, 2005 at 07:12:18PM +0100, Stephan Windm?ller wrote: --- PROT C --- 200 PROT now Clear. ... --- 150 Opening BINARY mode data connection for FILE (490 bytes). --- 226 File send OK. SSL read: wrong version number It looks like lftp tries to use SSL for Clear mode data

  1   2   3   4   >