Re: lftp-pre2.3.0-A00823

2000-08-23 Thread Alexander V. Lukyanov
On Wed, Aug 23, 2000 at 02:42:00PM -0500, Albert Chin-A-Young wrote: Two minor patches. Sun CC v5.0 complains with: Thanks, I fixed these. -- Alexander. | http://www.yars.free.net/~lav/

Re: lftp-pre 2.3.0 and GET method

2000-08-26 Thread Alexander V. Lukyanov
On Sat, Aug 26, 2000 at 02:18:57AM -0500, Albert Chin-A-Young wrote: Why does lftp append '/' to the URL (i.e. from /?distribution=cd to /?distribution=cd/)? Because it expects that to be a directory. When one does cd, the trailing slash is not needed, but http servers expect trailing slash

Re: lftp-pre 2.3.0 and encoding unsafe characters

2000-08-26 Thread Alexander V. Lukyanov
On Sat, Aug 26, 2000 at 08:24:59AM -0500, Albert Chin-A-Young wrote: I did try: lftp open -u [user],[pass] http://updates.thewrittenword.com/ lftp get http://updates.thewrittenword.com/?distribution=cd Try `get http:[EMAIL PROTECTED]/?distribution=cd'. The password will be taken from

lftp-pre2.3.0-A00907

2000-09-07 Thread Alexander V. Lukyanov
News since 2000-08-26: * workaround for server returning address from private network for PASV. * support for redirection in mirror (untested). * fix for http forgotting to skip some data on input (rare) (not in 2.2.x). * keep original file mode in get (if the file already existed). * fix for

lftp-pre2.3.0-A00911

2000-09-11 Thread Alexander V. Lukyanov
News since 2000-09-07: * fix for eof handling in https. * used multilang branch of libtool. (does it work now on irix?) After some testing I'll release lftp-2.3.0. I hope to do that in September. It can be downloaded from the usual location:

Re: 2.3.0 queue

2000-09-23 Thread Alexander V. Lukyanov
On Fri, Sep 22, 2000 at 05:28:29PM +0100, gARetH baBB wrote: And presumably duplicated for the lcd immediatly following that. Yes. Thanks for pointing out. -- Alexander.

Re: 2.3.0 move-background

2000-09-23 Thread Alexander V. Lukyanov
On Fri, Sep 22, 2000 at 08:38:10PM +0100, gARetH baBB wrote: Just noticed another problem. If cmd:move-background is set to no it complains on exit that something is running even when there isn't. Off-by-one problem. Here is the patch: Index: commands.cc

Re: lftp 2.3.4

2000-10-18 Thread Alexander V. Lukyanov
On Tue, Oct 17, 2000 at 05:14:58PM -0500, Albert Chin-A-Young wrote: Want to apply the following patch to back to 2.3.4 behavior? Thanks. I've applied the patch. -- Alexander. | http://www.yars.free.net/~lav/

Re: Arrgh!

2000-10-23 Thread Alexander V. Lukyanov
On Sun, Oct 22, 2000 at 06:39:32PM +0100, Robert de Bath wrote: I just downloaded the cvs; seemed fine till I started a big download. The net:timeout now seems to work as "total connection time" ... oops. Here is the patch. Over-optimization, as usual :) Removing "unneeded" Poll call caused

Re: lftp size

2000-11-27 Thread Alexander V. Lukyanov
On Mon, Nov 27, 2000 at 02:50:39AM -0200, Frederic L . W . Meunier wrote: rwxr-xr-x 1 root bin 952592 Nov 25 17:16 lftp and compiled on stock redhat-7.0 with modules: -rwxr-xr-x1 rootroot 274872 Nov 25 18:32 /usr/bin/lftp I don't know why you had such an increase

Re: Bz(more/cat) support

2000-12-08 Thread Alexander V. Lukyanov
Patch applied. Thanks. But I'd like a zcat program automatically guessing compress method :) -- Alexander.

Re: Bz(more/cat) support

2000-12-08 Thread Alexander V. Lukyanov
On Fri, Dec 08, 2000 at 04:37:29PM +0100, Chmouel Boudjnah wrote: "Alexander V. Lukyanov" [EMAIL PROTECTED] writes: But I'd like a zcat program automatically guessing compress method :) by file magic ? Not necessary, since there are not too much compressors out there. E.g.

Re: pl.po small fix

2000-12-13 Thread Alexander V. Lukyanov
On Mon, Dec 11, 2000 at 06:07:24PM +0100, Arkadiusz Miskiewicz wrote: Fix in PLD repository and here: Applied. Thanks. -- Alexander.

Re: cd command doesn't timeout

2001-01-06 Thread Alexander V. Lukyanov
On Sat, Jan 06, 2001 at 12:54:41AM +0100, Arkadiusz Miskiewicz wrote: Hi again. I also have problem with cd command. It doesn't timeout. Situation is simple. On server side directories are mounted over smbfs. Usually when that smb connection fails I have problem: [1] mirror -c something/

Re: Patches for lftp 2.3.7

2001-02-14 Thread Alexander V. Lukyanov
On Tue, Feb 13, 2001 at 04:25:39PM -0600, Albert Chin-A-Young wrote: 1. Add --with-locale-dir=DIR and --with-gnu-locale-dir=DIR for more precise placement of GNU locale files 2. Updated m4/largefile.m4 3. Synced the intl/ tree with tar 1.13.19 Thanks. But in lftp there is no m4/gettext.m4

Re: glibc 2.2 and gcc 3.0 snapshots

2001-03-13 Thread Alexander V. Lukyanov
On Mon, Mar 12, 2001 at 08:16:46PM +0100, Arkadiusz Miskiewicz wrote: Simplest patch without superfluous __GNUC_PREREQ checking: Applied, thanks. Also I have another problem. gcc 3.0 snap comes with libsupc++.a which contains new and delete operators: ResMgr.o(.text+0x33f): undefined

Re: glibc 2.2 and gcc 3.0 snapshots

2001-03-13 Thread Alexander V. Lukyanov
On Tue, Mar 13, 2001 at 10:38:22AM +0100, Arkadiusz Miskiewicz wrote: checking how to link simple c++ programs... using gcc while AC_TRY_COMPILE fails. It does not fail, I should have used AC_TRY_LINK :) -- Alexander.

Re: translation files

2001-04-23 Thread Alexander V. Lukyanov
On Sun, Apr 22, 2001 at 09:16:07AM +0800, R.I.P. Deaddog wrote: I've finished traditional chinese translation for lftp 2.3.9, but where should I send the file to? Thanks! Send the translation to the lftp-devel list as compressed attachment. -- Alexander.

Re: ftp:anon-pass weirdness

2001-04-27 Thread Alexander V. Lukyanov
On Fri, Apr 27, 2001 at 07:35:15AM +0200, Hrvoje Niksic wrote: What is lftp's default anonymous FTP password? By default user name is used for ftp password. -lftp@ is the first default, a static one. It is later overridden by the synamic one with user name. P.S. The default of -lftp@ seems a

Re: Lftp 2.3.x core dumps on Tru64 UNIX 4.0D

2001-05-28 Thread Alexander V. Lukyanov
On Sun, May 27, 2001 at 02:40:46AM -0500, [EMAIL PROTECTED] wrote: Ok, I used the following which worked. Another solution is not to use %lld but I just decided to use vsnprintf exclusively (and trio to implement it on systems where it did not exist). I also made some optimizations for

Re: lftp: queues (patch)

2001-07-19 Thread Alexander V. Lukyanov
On Wed, Jul 18, 2001 at 04:37:23PM -0400, Glenn F. Maynard wrote: It is possible to edit queue with feeder - just scan feeder chain to the end and first feeder contains saved_buf of the queue before any feeder was added. cmd_queue should also be modified to append commands to the

Re: Pre 2.4.0-1 - 2.50 autoconf problem

2001-07-19 Thread Alexander V. Lukyanov
On Wed, Jul 18, 2001 at 06:43:23PM +0400, Andrej Borsenkow wrote: I guess, if top-level configure is based on 2.50 then all of them should? Thanks, I have regenerated readline-4.2/configure. -- Alexander.

Re: --with-debug, -O2

2001-07-24 Thread Alexander V. Lukyanov
On Mon, Jul 23, 2001 at 05:49:42PM -0400, Glenn F. Maynard wrote: This patch removes -O2 (actually, '-O[0-9]?') when --with-debug is used. Debugging compiled-optimized code is, er, an entertaining challenge, I suppose, but having code bounce around after going through a compiler's shuffling

Re: eep! memleak

2001-07-25 Thread Alexander V. Lukyanov
On Tue, Jul 24, 2001 at 05:39:35PM -0400, Glenn F. Maynard wrote: glenn 8389 0.0 51.2 84056 6 pts/30 SJul16 3:40 lftp That's from: repeat find ; cache f repeated a few hundred times. This is Debian/unstable's 2.3.11, not CVS. It appears to be trivially reproducable, and

Re: queue feeder

2001-07-25 Thread Alexander V. Lukyanov
On Tue, Jul 24, 2001 at 03:42:29PM -0400, Glenn F. Maynard wrote: Anyhow, this isn't really an issue worth another day of deliberation. :) Here's a better idea: change is_queue to has_queue, of type QueueFeeder. If there's a queue, it points to it; if not, it's NULL. No extra code, no

Re: queue feeder (cont)

2001-07-26 Thread Alexander V. Lukyanov
On Thu, Jul 26, 2001 at 03:19:48AM -0400, Glenn F. Maynard wrote: Jobs, deleting, moving and inserting at an offset are implemented. I couldn't break them, but they still need more bashing on. Patch applied. Thanks. One problem with wildcard matching: fnmatch matches substrings; ie foo*bar

Re: queue feeder (cont)

2001-07-26 Thread Alexander V. Lukyanov
On Thu, Jul 26, 2001 at 03:19:48AM -0400, Glenn F. Maynard wrote: Jobs, deleting, moving and inserting at an offset are implemented. I couldn't break them, but they still need more bashing on. BTW, please make sure the help message does not exceed 80 characters in width. -- Alexander.

Re: queue feeder (cont)

2001-07-30 Thread Alexander V. Lukyanov
On Fri, Jul 27, 2001 at 12:54:57AM +0200, Arkadiusz Miskiewicz wrote: Is there job pausing/continueing? For example while downloading some huge file I have too small amount of free space and I need to copy something to other server (to make more free space)... Pausing will be great here. Of

Re: (s)random problem

2001-07-30 Thread Alexander V. Lukyanov
On Mon, Jul 30, 2001 at 01:27:03PM +0400, Borsenkow Andrej wrote: so I appreciate either patch for random problem or description how can I recreate configure. You have to install gettext-0.10.38. But anyway - I have added this fallback: #ifndef HAVE_RANDOM #define srandom(x) srand((x))

Re: FW: Problem with default config.cache

2001-07-30 Thread Alexander V. Lukyanov
On Mon, Jul 30, 2001 at 10:04:37AM +0400, Borsenkow Andrej wrote: Ah, good. Easy fix. Use libtool-1.4 if you don't need multi-language-branch features, ot libtool-1.4b if you do. Neither of these versions have ltconfig at all. I do not care if ltconfig exists or not - I do care

Re: core dump

2001-08-22 Thread Alexander V. Lukyanov
On Wed, Aug 22, 2001 at 03:42:54AM +0200, Aragon Gouveia wrote: I'm running lftp 2.4.0 and am finding it to core dump quite often. Please upgrade to 2.4.1 (or pre2.4.2-2), one bug leading to coredump was fixed there. But you have reported a new one, thanks! Here is the patch. I'll release

Re: strings

2001-08-27 Thread Alexander V. Lukyanov
On Fri, Aug 24, 2001 at 03:58:58PM -0400, Glenn F. Maynard wrote: these things periodically, but good data is scarce. (Some ex-Windows *NIX programmers are still avoiding internal for() variable scoping!) It is still unportable. Sometimes I receive reports that lftp cannot be compiled with

Re: gdb patch

2001-08-28 Thread Alexander V. Lukyanov
On Mon, Aug 27, 2001 at 02:46:59PM -0400, Glenn F. Maynard wrote: By the way, a lot of your copyright dates are outdhted. Yes, I often forget to update copyright headers when edit files. -- Alexander. | http://www.yars.free.net/~lav/

Re: gdb patch

2001-08-28 Thread Alexander V. Lukyanov
On Mon, Aug 27, 2001 at 02:46:59PM -0400, Glenn F. Maynard wrote: Well, gdb in Debian unstable still has that fork bug, so here's a patch to work around it; use-fork is always off in gdb. I did another change, less linux-specific. Funny that forked child does not fault after one lookup done

Re: 2.4.3 patches

2001-09-06 Thread Alexander V. Lukyanov
On Thu, Sep 06, 2001 at 11:58:47PM -0500, [EMAIL PROTECTED] wrote: 1. ltcf-c.sh and ltcf-cxx.sh are deprecated. They are now included in ltmain.sh (they do not exist in the libtool HEAD branch). 2. upgrade to the latest version of the trio library that provides snprintf. Ok, patches

Re: history (patch)

2001-09-09 Thread Alexander V. Lukyanov
On Sun, Sep 09, 2001 at 05:45:09PM -0400, Glenn F. Maynard wrote: Adds history listing, saving/reading and clearing. Realised the need for the the two hundredth time I tried to type history in lftp and had it not work ... Patch applied, thanks. I have also added 'modified' flag in history

Re: 2.4.3 patches

2001-09-10 Thread Alexander V. Lukyanov
On Sat, Sep 08, 2001 at 11:25:27AM -0500, [EMAIL PROTECTED] wrote: Ok, CVS on ctrio.sourceforge.net is now in sync with what ships in libxml 2.4.3. Want to just sync from that or want me to submit a new patch? I have sync'ed with their cvs. -- Alexander.

Re: ls/local+remote file completion and fileutils LS features

2001-09-15 Thread Alexander V. Lukyanov
On Fri, Sep 14, 2001 at 06:58:51PM -0400, Glenn F. Maynard wrote: There's a few extremely useful features of ls that would be great to emulate in ls, and possibly file completion: column width optimization colorization type suffixes Agree, it would be nice to have an optional ls which

Re: ls/local+remote file completion and fileutils LS features

2001-09-17 Thread Alexander V. Lukyanov
On Sat, Sep 15, 2001 at 11:59:25PM -0400, Glenn F. Maynard wrote: Originally I just output to an FD, honoring parent-output. My code right now sets up a FileCopyPeer job to buffer output; Look at how original ls is done. There is data source - FileCopyPeerDirList and data destination which is

Re: ls/local+remote file completion and fileutils LS features, round 2 take 2

2001-10-05 Thread Alexander V. Lukyanov
On Thu, Oct 04, 2001 at 11:26:03PM -0400, Glenn F. Maynard wrote: I've moved both the fileset printing (moved it all into the printopts structure, and renamed it FileSetPrint) and the FileCopyJob into FileSetOutput.cc/FileSetOutput.h. So, the FileCopyJob stuff is in this one, too; along with

Re: ls/local+remote file completion and fileutils LS features, round 3

2001-10-05 Thread Alexander V. Lukyanov
On Fri, Oct 05, 2001 at 04:00:51AM -0400, Glenn F. Maynard wrote: Keep glob_res around after completion until the next completion or the next command; this lets us use it to do our own completion result display. Maybe there is a callback in readline? If not, I think it is better to call

Re: Fish shell (Re: lftp 2.4.5)

2001-10-20 Thread Alexander V. Lukyanov
On Sat, Oct 20, 2001 at 02:01:19PM +0400, Alexander V. Lukyanov wrote: normal Solaris /bin/sh exits when cd'ing to non-existent directories, in case the shell is not interactive. Ok, maybe it is not a big problem with disconnecting. I'll make fish:shell default to /bin/sh. -- Alexander.

Re: LFTP 2.4.5 doesn't compile with --disable-nls ?

2001-10-22 Thread Alexander V. Lukyanov
On Sun, Oct 21, 2001 at 06:54:30PM -0400, Glenn Maynard wrote: /usr/local/src1/lftp-2.4.5/src/FileSetOutput.cc:437: dcgettext' undeclared (first use this function) Patch attached. Applied. Thanks. -- Alexander.

Re: timezones, mktime_from_utc, perms

2001-10-25 Thread Alexander V. Lukyanov
I have applied the patch, thanks! I have also implemented mktime_from_tz and ftp:timezone setting. -- Alexander.

Re: ascii mode speed issues, --with-profiling

2001-10-27 Thread Alexander V. Lukyanov
I have applied the patch. Some notes below. On Fri, Oct 26, 2001 at 02:41:28PM -0400, Glenn Maynard wrote: Important: I don't know what EPLF is and have no means of testing that code change. Do you have a server I could use to test it? Here is one server: ftp://vgsn.glasnet.ru. There are

Re: set_tz

2001-10-28 Thread Alexander V. Lukyanov
On Sun, Oct 28, 2001 at 06:38:03PM -0500, Glenn Maynard wrote: Moved put_tz into set_tz to scope it better. Increased put_tz to 256 bytes. TZ can be a path. Right, but I've yet to see zoneinfo with path longer than 60 :) I'll make a dynamic allocation. TZ= isn't the same as TZ not

Re: for scoping

2001-10-29 Thread Alexander V. Lukyanov
On Mon, Oct 29, 2001 at 09:08:54PM -0500, Glenn Maynard wrote: + int filesno; /* Find the amount of whitespace shared by every entry in the * column. */ - for (int filesno = 0; filesno lst_cnt; ++filesno) { + for (filesno = 0; filesno lst_cnt; ++filesno) { Ew!

Re: ascii mode speed issues, --with-profiling

2001-10-29 Thread Alexander V. Lukyanov
On Sat, Oct 27, 2001 at 03:17:02PM -0400, Glenn Maynard wrote: Originally, I used memmove/memchr for speed--they're well-optimized. In retrospect, that's also iterating over the input buffer twice (though in a cache-friendly way.) Here's one that anyone can understand: This one is nicer

Re: ascii mode speed issues, --with-profiling

2001-10-30 Thread Alexander V. Lukyanov
On Tue, Oct 30, 2001 at 04:17:20AM -0500, Glenn Maynard wrote: This one is nicer indeed. And smaller. It has a bug but it does not matter. Er, what is it? Passed my tests (leading, trailing, consecutive \r\n with or without null terminator.) My mistake, no bug. I has overlooked the

Re: for scoping

2001-10-30 Thread Alexander V. Lukyanov
On Tue, Oct 30, 2001 at 09:27:21PM -0800, Mike Castle wrote: But, if I understand correctly, the old code did something like { for (int i; ...) {} use[i].here; } No, it was: { for(int i; ...) {} for(int i; ...) {} } Now it is: { int i; for(i; ...) {} for(i; ...) {} }

Re: more speed stuff

2001-10-31 Thread Alexander V. Lukyanov
On Tue, Oct 30, 2001 at 06:53:18PM -0700, Glenn Maynard wrote: The major problem is that the directory list is parsed every time, out of cache. The ideal solution would be to cache parsed lists, too (and having classes of cache objects could be useful, ie cached FileSets), but that would

Re: more speed stuff

2001-11-05 Thread Alexander V. Lukyanov
On Wed, Oct 31, 2001 at 01:31:37PM -0700, Glenn Maynard wrote: By the way, CVS is broken: 03:28pm [EMAIL PROTECTED]/2 [~/lftp/src] cvs -n upd Sorry, you don't have read/write access to the history file /home/lav/cvsroot/CVSROOT/history Permission denied Fixed now, thanks. --

Re: Problem with mget -E in lftp 2.4.5 and 2.4.6

2001-11-05 Thread Alexander V. Lukyanov
On Sat, Nov 03, 2001 at 04:02:21PM +0200, Liviu Daia wrote: Somewhere along the path from 2.4.4 to 2.4.5, somebody made a less then fortunate change: issuing a command mget -c -E *.gz now results in a segfault after downloading and removing the first matching file. This seems

Re: Problem with mget -E in lftp 2.4.5 and 2.4.6

2001-11-05 Thread Alexander V. Lukyanov
On Mon, Nov 05, 2001 at 05:08:09PM +0200, Liviu Daia wrote: : ftp:use-quit (bool) : if true, lftp sends QUIT before disconnecting from : ftp server. Default is true. My problem is precisely that it doesn't send QUIT before disconnecting when set to yes.

Re: statusline blocking

2001-11-06 Thread Alexander V. Lukyanov
On Sun, Nov 04, 2001 at 03:34:06PM -0500, Glenn Maynard wrote: StatusLine is blocking; this causes all transfers to stop if its printf()s block. It should probably go through some buffering layer. Maybe. But I would prefer status line updates to be atomic, so that other tty output would not

Re: readline

2001-11-08 Thread Alexander V. Lukyanov
On Wed, Nov 07, 2001 at 12:47:50AM -0500, Glenn Maynard wrote: readline-4.2/config.h.in missing. It should be created by autogen.sh, which in turn calls autoheader. -- Alexander.

Re: readline

2001-11-08 Thread Alexander V. Lukyanov
On Thu, Nov 08, 2001 at 03:00:47AM -0500, Glenn Maynard wrote: It's blowing up: 02:59am [EMAIL PROTECTED]/6 [~/lftp] ./autogen.sh --with-debug processing ./readline-4.2 Running aclocal ... Running autoheader... /usr/bin/autoheader2.13: Symbol `HAVE_LSTAT' is not covered by

Re: statusline blocking

2001-11-08 Thread Alexander V. Lukyanov
On Tue, Nov 06, 2001 at 07:58:41PM -0500, Glenn Maynard wrote: BTW, other tty output in lftp is blocking also. I remember that making tty non-blocking can cause funny side effects in other programs. So, e.g. `cat' command can also block other transfers. Well, the difference is that most

Re: NLIST 550

2001-11-08 Thread Alexander V. Lukyanov
On Wed, Nov 07, 2001 at 05:36:53PM -0500, Glenn Maynard wrote: --- 550 No files found. NLST 550s always go to pri 0, but at least ProFTPD returns 550 No files found. when there are no files; that should probably go to 4. This affects nlist, find, du, cls, others. This simple patch fixes

Re: misc (patch)

2001-11-08 Thread Alexander V. Lukyanov
On Wed, Nov 07, 2001 at 06:03:35PM -0500, Glenn Maynard wrote: To avoid ending up with a 1500 line patch again, here's current standalone changes, some of which are for du (not included yet): Applied, but I moved PRINTF_LIKE to config.h. -- Alexander.

Re: file vs directory stuff

2001-11-08 Thread Alexander V. Lukyanov
On Thu, Nov 08, 2001 at 02:02:12AM -0500, Glenn Maynard wrote: Here's the basic problem: lftp 0:/ cls cs cs/ lftp 0:/ cls cs/ ai/ db/ indent.exe xtypes.zip This is a known, documented problem; the fundamental problem being no fast, portable way to find out if a path is a file or a

Re: readline

2001-11-08 Thread Alexander V. Lukyanov
On Thu, Nov 08, 2001 at 09:22:43AM +0100, Nicolas Noble wrote: patching file intl/Makefile.in Hunk #1 FAILED at 102. Hunk #2 FAILED at 253. 2 out of 2 hunks FAILED -- saving rejects to file intl/Makefile.in.rej patching file po/Makefile.in.in Hunk #1 FAILED at 23. Hunk #2 succeeded at 86

Re: Problem with mget -E in lftp 2.4.5 and 2.4.6

2001-11-08 Thread Alexander V. Lukyanov
On Tue, Nov 06, 2001 at 07:30:29PM -0500, Glenn Maynard wrote: On Tue, Nov 06, 2001 at 12:55:29PM +0300, Alexander V. Lukyanov wrote: Time+TimeDiff is a time since epoch, Time+Time is not defined. That's the main difference. Other difference is in the name, TimeDiff underlines

Re: ABOR problem?

2001-11-12 Thread Alexander V. Lukyanov
On Sun, Nov 11, 2001 at 05:28:42PM +0100, Piotr Krukowiecki wrote: Hi after kill'ing some transfer (ie get) i get this: --- ABOR --- 500 '?': command not understood. Is that ok? lftp 2.4.6 The server does not properly implement ABOR command. Do this in your ~/.lftp/rc: set

Re: ssl for anonymous does not make sense

2001-11-12 Thread Alexander V. Lukyanov
On Fri, Nov 09, 2001 at 10:37:11PM -0500, Glenn Maynard wrote: // ssl for anonymous does not make sense. if(!ftps QueryBool(ssl-allow) user pass) Why not? It's not needed for authentication (though it doesn't hurt; the fact that you're connected anonymously isn't cleartext),

Re: columnoutput memleak

2001-11-13 Thread Alexander V. Lukyanov
On Tue, Nov 13, 2001 at 02:15:31AM -0500, Glenn Maynard wrote: Need an xfree(str) in ColumnOutput::addf(). Fixed. Thanks. -- Alexander.

Re: cls user/group

2001-11-13 Thread Alexander V. Lukyanov
Patch applied. Thanks. On Tue, Nov 13, 2001 at 06:09:07AM -0500, Glenn Maynard wrote: *user and *group field to FileInfo, parser support in ParseFtpLongList_UNIX and LocalFile. This is explicitely disabled for MirrorJob, since it doesn't need it and it's currently memory-expensive.

Re: lowercase vs uppercase

2001-11-15 Thread Alexander V. Lukyanov
On Wed, Nov 14, 2001 at 11:14:19AM +0100, Arkadiusz Miskiewicz wrote: Nice thing to see if all commands will be case insensitive. No big problem with commands. But command options have to be case-sensitive. -- Alexander.

Re: web-mode, patch

2001-11-15 Thread Alexander V. Lukyanov
On Thu, Nov 15, 2001 at 04:10:38AM -0500, Glenn Maynard wrote: web-mode is currently broken for me; it stalls after the first operation. Fixed. patch: Applied without IdCache. I did not quite like the implementation. Do you have nscd running? It should speed up passwd/group access. like

Re: broken 2.4.7 release?

2001-11-19 Thread Alexander V. Lukyanov
On Fri, Nov 16, 2001 at 05:33:22PM +0100, Arkadiusz Miskiewicz wrote: I'm using lftp 2.4.7 and: lftp ftp.netscape.com:/pub/netscape6/english/6.2/unix/linux22/plugins get jre131i.xpi `jre131i.xpi' w 0 [Czekanie na odpowied?...] It's waiting for answer all the time but (well it only tells

Re: get/mget, etc

2001-11-19 Thread Alexander V. Lukyanov
On Thu, Nov 15, 2001 at 11:38:51PM -0500, Glenn Maynard wrote: Is there anything fundamentally preventing merging get with mget, and put with mput? It is low priority to me. Do you want get to expand wildcards or you just do not like the presence of extra commands? There are two traditional

Re: lftp 2.4.7 bug

2001-11-21 Thread Alexander V. Lukyanov
2001/11/21 09:55:28 @@ -1,3 +1,9 @@ +2001-11-21 Alexander V. Lukyanov [EMAIL PROTECTED] + + * ftpclass.cc, ftpclass.h: don't assume peer!=0, copy control socket + name to member peer_sa. + * NetAccess.cc: remove obsolete commented out asserts. + 2001-11-20 Alexander V

Re: web-mode, patch

2001-11-23 Thread Alexander V. Lukyanov
On Thu, Nov 22, 2001 at 05:16:08PM -0500, Glenn Maynard wrote: connection-limit is broken. ftpclass.cc:1020, remove ftp:. Thanks. I fixed that. BTW, I have not lost your last big patch, I'm still reviewing it. I have noticed that it did not change case sensitivity in several places, e.g.

lftp-2-4 branch

2001-11-23 Thread Alexander V. Lukyanov
I have created cvs branch labeled lftp-2-4. Only bug fixes should go there and it will be released as 2.4.8 soon (maybe in december beginning). -- Alexander.

Re: get/mget, etc

2001-11-29 Thread Alexander V. Lukyanov
On Tue, Nov 27, 2001 at 01:18:42AM +0100, Tillmann Steinbrecher wrote: important would be to make -O work with mirror. FXPing entire directory structures from one ftp to another is really a pain in the ass with lftp; everything has to be done manually. 2.5.0 will have mirror which can

Re: ls/local+remote file completion and fileutils LS features, round 3

2001-10-07 Thread Alexander V. Lukyanov
On Fri, Oct 05, 2001 at 03:09:44PM -0400, Glenn F. Maynard wrote: Case-insensitive matching for non-filenames (ie. commands) would be nice to have all the time, actually. (Why should commands be case-sensitive?) Religious matter :) Even if they were case insensitive, who would press Shift

Re: ls/local+remote file completion and fileutils LS features, round 3

2001-10-07 Thread Alexander V. Lukyanov
Patch applied, BTW. Thanks! -- Alexander.

Re: ls/local+remote file completion and fileutils LS features, round 3

2001-10-07 Thread Alexander V. Lukyanov
A note about last patch: GLOB_PERIOD is not defined on solaris. It is a GNU extension. -- Alexander.

Re: ls/local+remote file completion and fileutils LS features, round 2 take 2

2001-10-08 Thread Alexander V. Lukyanov
On Sun, Oct 07, 2001 at 05:31:27PM -0400, Glenn F. Maynard wrote: Easy enough: changed Combine(1) to Combine(0). Change this back; it breaks SITE. I'll need to do it manually, I guess, or combine differently for the different CMD(ls) types. I did this: --- commands.cc 2001/10/08 05:50:54

Re: minor stuff

2001-10-08 Thread Alexander V. Lukyanov
On Mon, Oct 08, 2001 at 05:11:43AM -0400, Glenn Maynard wrote: Restored cls to help; dropped recls instead. Added simple timer class. This uses timevals; gettimeofday is wrapped in xgettimeofday for systems without it. (I did some searching; there are a lot of places that say some systems

Re: minor stuff

2001-10-09 Thread Alexander V. Lukyanov
On Tue, Oct 09, 2001 at 12:30:54PM -0400, Glenn Maynard wrote: On Tue, Oct 09, 2001 at 08:07:45PM +0400, Alexey Khlyamkov wrote: I decided to agree with Glenn at the first time. But after some thinking became to the following. Time and time difference have the same meaning in phisical

Re: minor stuff

2001-10-10 Thread Alexander V. Lukyanov
Patch applied with some modifications. On Tue, Oct 09, 2001 at 07:43:47PM -0400, Glenn Maynard wrote: Fixed a race condition; this came up in debugging and could (rarely) happen in practice: don't Timeout(negative); I have fixed PollVec::AddTimeout instead to set zero timeout on negative

lftp-pre2.4.5-2 is available.

2001-10-12 Thread Alexander V. Lukyanov
* Some bugs fixed. * Fish protocol improved. Pseudo-tty is used now, which allows answering ssh yes/no questions and password query. Download it from ftp.yars.free.net/lftp/devel BTW, I think I'll implement sftp protocol. Not sure how soon :) But it will use the same pseudo-tty PtyShell class

Re: lftp-pre2.4.5-2 is available.

2001-10-15 Thread Alexander V. Lukyanov
On Fri, Oct 12, 2001 at 10:03:03PM -0400, Glenn Maynard wrote: PtyShell.cc:107: warning: deprecated conversion from string constant to `char *' PtyShell.cc:108: warning: deprecated conversion from string constant to `char *' PtyShell.cc:109: warning: deprecated conversion from string constant

Re: cls -l dates, other

2001-10-15 Thread Alexander V. Lukyanov
I have applied this patch. BTW, cls has a memory leak. Try: repeat 0 cls /dev/null and watch lftp process size. -- Alexander. | http://www.yars.free.net/~lav/

Re: cls -l dates, other

2001-10-15 Thread Alexander V. Lukyanov
On Mon, Oct 15, 2001 at 04:59:44PM +0400, Alexander V. Lukyanov wrote: I have applied this patch. BTW, cls has a memory leak. Try: I have fixed the leak, here is the relevant patch: --- FileSetOutput.cc2001/10/15 11:58:38 +++ FileSetOutput.cc2001/10/15 14:14:10 @@ -586,6 +586,7

Re: cls -l dates, other

2001-10-16 Thread Alexander V. Lukyanov
On Mon, Oct 15, 2001 at 03:16:12PM -0400, Glenn Maynard wrote: MBSW_ACCEPT_INVALID makes it treat invalid characters as width 1. Good. Date output added to cls -l; uses locale-dependant date (like ls does.) Why not use ISO date format? I.e. 2000-09-07 19:20. Made it look the same as ls

Re: ABOR, use-quit, etc

2001-10-16 Thread Alexander V. Lukyanov
On Mon, Oct 15, 2001 at 07:46:04PM -0400, Glenn Maynard wrote: Tracked down a small set of problems with some FTP servers. First, some WarFTPD's handle ABOR incorrectly: they don't send a transfer aborted/successful followed by ABOR successful, they just skip to ABOR successful. This

Re: .cvsignore update

2001-10-16 Thread Alexander V. Lukyanov
On Tue, Oct 16, 2001 at 04:57:34AM -0400, Glenn Maynard wrote: This ignores a few generated files. Applied. Thanks! po/ChangeLog is modified by gettextize, for some (quite ridiculously stupid) reason; it keeps adding upgraded messages, leaving me to remove them from diffs. There's no

Re: status line stuff

2001-10-17 Thread Alexander V. Lukyanov
On Tue, Oct 16, 2001 at 09:50:20PM -0400, Glenn Maynard wrote: Added 'parent' to FileCopyPeer. This is used to disable the status line. (Sanity measure: parent type of FileCopyPeer is CopyJob.) I did not like adding a dependency from Task to Job. A Task is a lower level thing and it should be

Re: mirror http://, find wishlist

2001-12-14 Thread Alexander V. Lukyanov
On Thu, Dec 13, 2001 at 01:48:28PM +0100, Piotr Krukowiecki wrote: When mirroring http:// url, lftp sends HEAD command: --- HEAD /anime/manga/Love%20Hina/lh02-016e.jpg HTTP/1.1 I'm not sure if this is really needed. It must know already which files are avaiable, so it could just use GET or

Re: FinderJob

2001-12-14 Thread Alexander V. Lukyanov
On Thu, Dec 13, 2001 at 04:07:08PM -0500, Glenn Maynard wrote: 03:55pm [EMAIL PROTECTED]/6 [~/lftp/src] ./lftp http://www.google.com cd ok, cwd=/ lftp www.google.com:/ cls 3.html about.html ads/ advanced_search images/ language_tools news/ preferences services/ lftp www.google.com:/

Re: Patch to 2.4.8 for ANSI scoping rule

2001-12-14 Thread Alexander V. Lukyanov
On Fri, Dec 14, 2001 at 12:23:32PM -0600, Albert Chin-A-Young wrote: On Wed, Dec 12, 2001 at 01:19:59AM -0600, [EMAIL PROTECTED] wrote: 7. HP-UX 11.00, with the aCC compiler, gives: Error 221: FtpDirList.h, line 32 # Member 'EPLF' not declared in class FtpDirList

Re: Patch to 2.4.8 for ANSI scoping rule

2001-12-14 Thread Alexander V. Lukyanov
On Fri, Dec 14, 2001 at 09:38:51PM +0300, Alexander V. Lukyanov wrote: On Fri, Dec 14, 2001 at 12:23:32PM -0600, Albert Chin-A-Young wrote: On Wed, Dec 12, 2001 at 01:19:59AM -0600, [EMAIL PROTECTED] wrote: 7. HP-UX 11.00, with the aCC compiler, gives: Error 221: FtpDirList.h

Re: list_info-UseCache(FileInfo::SIZE);

2001-12-17 Thread Alexander V. Lukyanov
On Sat, Dec 15, 2001 at 03:50:50PM -0500, Glenn Maynard wrote: list_info-UseCache(FileInfo::SIZE); Er, I don't think that's what you meant to do. I cannot find such a line anywhere in lftp source. -- Alexander.

Re: can_seek

2001-12-17 Thread Alexander V. Lukyanov
On Sat, Dec 15, 2001 at 08:58:12PM -0500, Glenn Maynard wrote: GetFileInfo.cc, GetFileInfo.h: Make sure the Done portion is always done, including on all errors. Changed comment. I have just moved SetCwd(origdir) to destructor. Anyway, in case of ^C no code except destructor is run. result

Re: can_seek

2001-12-17 Thread Alexander V. Lukyanov
On Mon, Dec 17, 2001 at 12:24:08PM -0500, Glenn Maynard wrote: You seem to assume that if a file name is not in directory listing, then the file does not exist. It is not so in case of http. Even ftp servers sometimes hide .* files from dir listings, but these files do exist and can be

Re: can_seek

2001-12-18 Thread Alexander V. Lukyanov
On Mon, Dec 17, 2001 at 01:21:00PM -0500, Glenn Maynard wrote: Should mkdirJob::Reuse() call super::Reuse()? No, it should not. It is not virtual. Maybe it should be renamed to avoid name collision. I'm still bashing on OutputJob. It's working well now. It should be possible, eventually,

Re: nlist errors

2001-12-20 Thread Alexander V. Lukyanov
Patch applied with some changes. BTW, I have finally got rid of takeover_time. -- Alexander.

Re: mirror http://, find wishlist

2001-12-23 Thread Alexander V. Lukyanov
On Sat, Dec 22, 2001 at 09:01:39PM +0100, Piotr Krukowiecki wrote: Yes, script. lftp doesn't have good logging support :(. Even 'queue find / file' doesn't work, 'queue mirror - sth file' probably neither :( queue find / file should work. Note the quotes. -- Alexander.

  1   2   3   4   >