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.

Re: Debian Bug report - #122005

2001-12-23 Thread Alexander V. Lukyanov
In fact lftp works well if I initialize LC_ALL to fr_FR but not if I let LC_ALL to C and only initialize LC_CTYPE to fr_FR which is IMHO not the correct behaviour. FYI, LC_ALL overrides LC_CTYPE. Unset LC_ALL, then LC_CTYPE will have effect. -- Alexander.

Re: weird bug in lftp

2001-12-23 Thread Alexander V. Lukyanov
On Mon, Dec 24, 2001 at 02:32:18AM +0100, Piotr Krukowiecki wrote: Finally started thinking and used 'quote' ;) lftp [EMAIL PROTECTED]:/pub quote CWD X --- CWD X --- 250 Changed directory successfully to '/pub/X'. Be warned that lftp won't restore current directory in case of reconnect, if

Re: nlist errors

2001-12-24 Thread Alexander V. Lukyanov
On Mon, Dec 24, 2001 at 04:13:34AM -0500, Glenn Maynard wrote: I need to know if the output is a TTY and the width. The output might be not stdout but still a TTY (ie. /dev/tty5; or a dup of stdout.) I think it is very rare case. The width is not very important, because intermediate filter

Re: moving to background when no current dir

2002-01-03 Thread Alexander V. Lukyanov
On Tue, Jan 01, 2002 at 08:08:21PM +0100, Piotr Krukowiecki wrote: Hi lftp jobs Warning: chdir(/home/piotr/fr) failed: No such file or directory No directory to execute commands in - terminating [19962] Moving to background to complete transfers... [piotr@pingu piotr]$ :( Can't lftp

Re: segmentation fault in mirror -R

2002-01-12 Thread Alexander V. Lukyanov
On Sat, Jan 12, 2002 at 11:03:05PM +0100, Kjartan ?s??rsson wrote: #0 0x400e01a7 in strcmp () from /lib/libc.so.6 #1 0x80c60e8 in StringPool::Get (s=0x0) at StringPool.cc:37 This patch should fix it. -- Alexander. Index: StringPool.cc

Re: pre2.4.6: core dump with 'open foo:'

2002-01-14 Thread Alexander V. Lukyanov
On Mon, Jan 14, 2002 at 08:12:04AM -0200, Fr?d?ric L. W. Meunier wrote: update the whole system...), but noticed LFTP generates a core dump in lpwd when I issue a command like the following: % open ftp: open: : no such tcp service This patch should fix it. -- Alexander. Index:

Re: [lftp-2.4.9] Compilation errors on Solaris 8

2002-02-01 Thread Alexander V. Lukyanov
On Fri, Feb 01, 2002 at 03:13:06AM +0900, Ayamura KIKUCHI wrote: I got following errors when trying to compile lftp-2.4.9 on Solaris 8 with gcc 2.95.3. ./configure --disable-nls -with-ssl I think locale.h should not include libintl.h. gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include

lftp-pre2.5.0-20020227

2002-02-27 Thread Alexander V. Lukyanov
I have released new development snapshot I think it is tested well enough, and will be released as 250 in a week Please test Authors of translations are encouraged to update the translations Thanks -- Alexander

Re: [alchemyx@uznam.net.pl: Re: [Micha?? Margula alchemyx@uznam.net.pl] Fw: Feature request]

2002-03-03 Thread Alexander V. Lukyanov
On Thu, Feb 28, 2002 at 05:01:26PM -0500, Glenn Maynard wrote: Orbs is useless (they filter *way* too freely); I'd strongly recommend not using it, or any other blacklists (though orbs has a particularly bad reputation) or DUL lists Getting some spam is much better than losing real mail

Re: lftp-pre2.5.0-20020227

2002-03-03 Thread Alexander V. Lukyanov
On Sat, Mar 02, 2002 at 01:16:42AM +0900, Ayamura KIKUCHI wrote: checking whether va_lists can be copied by value no I have fixed the test for by-value copying and released 20020303 snapshot -- Alexander

Re: FA crash

2002-03-12 Thread Alexander V. Lukyanov
On Tue, Mar 12, 2002 at 06:06:07PM -0500, Glenn Maynard wrote: lftp b:~ cd . cd: b: Unknown host lftp :~ cd . zsh: 2426 segmentation fault ./lftp Thanks. I have fixed it. -- Alexander.

Re: 100% CPU USAGE During Mirror

2002-03-13 Thread Alexander V. Lukyanov
On Wed, Mar 13, 2002 at 10:25:39AM -0500, Justin Piszcz wrote: When doing a mirror (no parallel gets), lftp freezes up on me and takes up 100% CPU. Which lftp version? What server do you mirror, so I can reproduce it? -- Alexander. | http://www.yars.free.net/~lav/

Re: man page

2002-03-13 Thread Alexander V. Lukyanov
On Wed, Mar 13, 2002 at 07:22:43PM +0100, Wojtek wrote: Since you announced the 2.5.0 version today i'm interested whether the manual page for this version shall be updated soon. As far as i know the man page for lftp 2.4.0 is most up to date. I have changed the man page for 2.5.0, but

Re: 100% CPU USAGE During Mirror

2002-03-14 Thread Alexander V. Lukyanov
On Wed, Mar 13, 2002 at 01:55:57PM -0500, Justin Piszcz wrote: It's on a Slack 8.0 box, lftp-2.5.0. Any http or ftp site which directories that go deep. can anybody reproduce it? -- Alexander.

Re: build failure with 2.4.10a on Tru64 UNIX 5.1

2002-03-18 Thread Alexander V. Lukyanov
On Mon, Mar 18, 2002 at 10:48:29AM -0600, Albert Chin wrote: if(now = try_time+interval) My fix was to cast to time_t: if(now = (time_t)(try_time+interval)) I have changed it to time_t(now) = etc. Thanks! It seems that C++ compilers have different view on implicit casting and time_t

Re: Satellite [NetGain 2000] [Corruption]

2002-04-01 Thread Alexander V. Lukyanov
On Mon, Apr 01, 2002 at 06:43:49AM -0500, Justin Piszcz wrote: PROBLEM: With lftp, many of my downloads get corrupted. This is because the connection between my satellite link, and my ISP gets severed, therefore causing FTP to resume. Regular connection breaks

Re: OutputJob

2002-04-14 Thread Alexander V. Lukyanov
On Fri, Apr 12, 2002 at 10:32:23PM -0400, Glenn Maynard wrote: It could also simply be removed. Both gzip and bzip2 permit concatenating files. (In other words, remove for_each and make zcat and bz2cat regular filters.) Very nice. I did not know that. The obvious loss is that it stops at

Re: TreatFileJob

2002-04-15 Thread Alexander V. Lukyanov
On Sun, Apr 14, 2002 at 11:21:02PM -0400, Glenn Maynard wrote: TreatCurrent(d,fi); - return PRF_LATER; + if(session-IsOpen()) +return PRF_LATER; } int res=session-Done(); if(res==FA::IN_PROGRESS) Is that return needed at all? Can a session ever be

Re: minor patch, bugs

2002-04-18 Thread Alexander V. Lukyanov
On Wed, Apr 17, 2002 at 04:12:30PM -0400, Glenn Maynard wrote: Job.cc: Free waiting on dtor. Applied. Job.h: Make SetParentFg also Bg the job if the parent is Bg'd; in other words, make it always copy the fg/bg state from the parent, not just if the parent is Fg'd. Did you mean: --- Job.h

Re: lftp-2.5.1 high speed bandwidth test moments of lag

2002-04-23 Thread Alexander V. Lukyanov
On Tue, Apr 23, 2002 at 08:09:15AM -0400, Justin Piszcz wrote: It varies. 5,10,15% sometimes it jumps to 40%. How much cpu does lftp consume? What transfer speed do other programs show? -- Alexander.

Re: A bug in lftp 2.5.1

2002-05-13 Thread Alexander V. Lukyanov
On Mon, May 13, 2002 at 12:39:44PM -0400, Glenn Maynard wrote: On Mon, May 13, 2002 at 06:46:48PM +0400, Alexander V. Lukyanov wrote: Thanks! I have applied the patch. I wonder, how this condition can be true? Is it related to dns server reply forgery? Did you apply this to lftp-2-4? Now

Re: lftp = 2.5.4 remote queue bug?

2002-07-07 Thread Alexander V. Lukyanov
On Sat, Jul 06, 2002 at 07:26:32PM -0400, Glenn Maynard wrote: 07:07pm [EMAIL PROTECTED]/1 [~ftp/t] chmod 0 a lftp 0:/t mir mirror: Access failed: 550 /t/a: Permission denied [0] mirror lftp 0:/t jobs [0] mirror \mirror b \transfer test `test' at 0 (0%) [Connection limit

Re: fd leak fix

2002-07-10 Thread Alexander V. Lukyanov
On Tue, Jul 09, 2002 at 06:24:19PM -0400, Glenn Maynard wrote: repeat 0 (foo) results in a minor memory leak and a major FD leak; fix for the FD leak attached. I havn't found the memory leak yet. (It's an annoying one since I often use repeat 0 (command) to search for memory leaks in my own

Re: shelving misc patches

2002-07-10 Thread Alexander V. Lukyanov
On Tue, Jul 09, 2002 at 06:00:42PM -0400, Glenn Maynard wrote: On Tue, Jul 09, 2002 at 01:58:53PM +0400, Alexander V. Lukyanov wrote: OutputJob. It's useful, fixes the cls bug, and makes buffered outputting trivial from any job, but it's still a bit overcomplicated and I havn't had

Re: lftp 2.5.4 core dump

2002-07-12 Thread Alexander V. Lukyanov
On Thu, Jul 11, 2002 at 01:37:52PM -0400, Glenn Maynard wrote: On Thu, Jul 11, 2002 at 06:31:35PM +0200, Piotr Krukowiecki wrote: Got core dump today. This is second in few days, but i don't have bt from previous one (but *iirc* last was ArgV::getnext() too) Try the attached. Applied.

Re: status % fix

2002-07-12 Thread Alexander V. Lukyanov
On Thu, Jul 11, 2002 at 04:11:16AM -0400, Glenn Maynard wrote: CopyJob.cc: fix format string error. Applied. Thanks! -- Alexander.

Re: shelving misc patches

2002-07-12 Thread Alexander V. Lukyanov
On Wed, Jul 10, 2002 at 10:07:58PM -0400, Glenn Maynard wrote: On Wed, Jul 10, 2002 at 03:15:02PM +0400, Alexander V. Lukyanov wrote: I have committed it to cvs, without commented out test code. Normally I'd bash on this a bit more before sending it in, but since the stuff in CVS right now

Re: chdir : problem

2002-07-17 Thread Alexander V. Lukyanov
On Fri, Jul 12, 2002 at 02:54:02PM -0400, Glenn Maynard wrote: The colon special casing for VMS/DOS causes a lot of problems for real servers: I have added setting ftp:device-prefix (default off) to turn on the device prefixes explicitly. -- Alexander.

Re: shelving misc patches

2002-07-17 Thread Alexander V. Lukyanov
On Sat, Jul 13, 2002 at 12:00:09AM -0400, Glenn Maynard wrote: You left out the rest of the stuff in that file, too ... What did I forget? The repeat problem isn't completely contrived, by the way; it also happens when any filters are used (ie. repeat 0s zcat file). There is a way to solve

Re: speedometer [lftp 2.5.1]

2002-07-17 Thread Alexander V. Lukyanov
On Sun, Jul 14, 2002 at 10:12:49PM +0200, Arkadiusz Miskiewicz wrote: Now the fix in such case would be: start time (speed related) counter when first data reaches client because afaik this is current speed counter (not average one). How about this patch? -- Alexander. Index:

Re: shelving misc patches

2002-07-17 Thread Alexander V. Lukyanov
On Wed, Jul 10, 2002 at 10:07:58PM -0400, Glenn Maynard wrote: Try: repeat 0s !echo hi A ^C gets eaten by the child job; you have to mash ^C to stop it. I'm not sure there's a clean way to fix this. (Repeat shouldn't stop if its command exits with an error; perhaps it should exit if the

Re: shelving misc patches

2002-07-18 Thread Alexander V. Lukyanov
On Wed, Jul 17, 2002 at 06:09:23PM -0400, Glenn Maynard wrote: repeat 0s foo often requires multiple ^Cs to stop. It seems that the CmdExec within SleepJob is being run by the scheduler first, not doing anything with the SIGINT (since it's not interactive), and then clearing it in

Re: shelving misc patches

2002-07-18 Thread Alexander V. Lukyanov
On Thu, Jul 18, 2002 at 04:18:06AM -0400, Glenn Maynard wrote: On Thu, Jul 18, 2002 at 11:01:33AM +0400, Alexander V. Lukyanov wrote: I think you are right. Here is another patch. This fixes the repeat 0 foo problem, but repeat 0 !echo hi still has problems. I'm not sure why. I'll try

lftp-pre2.6.0

2002-07-18 Thread Alexander V. Lukyanov
lftp-pre2.6.0 is available for testing: ftp://lftp.yar.ru/lftp/devel/lftp-pre2.6.0.tar.gz News: * 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

Re: please: net:limit-rate separately for downloads and uploads!

2002-07-18 Thread Alexander V. Lukyanov
On Fri, Jul 05, 2002 at 08:43:28PM +0200, Tillmann Steinbrecher wrote: On Fri, 2002-07-05 at 11:33, Piotr Krukowiecki wrote: This is a feature that i need badly... Usually i could download much faster than upload... but i have to limit upload speed, which limits download speed too.. So

Re: lftp-pre2.6.0

2002-07-18 Thread Alexander V. Lukyanov
On Thu, Jul 18, 2002 at 11:24:42PM +0900, Ayamura KIKUCHI wrote: lftp-pre2.6.0 is available for testing: Compilation errors occur on IRIX 6.5.16f with MIPSpro Compilers 7.3.1.3m. Thanks! The fix is to remove the `return'. -- Alexander.

Re: lftp-pre2.6.0

2002-07-23 Thread Alexander V. Lukyanov
On Mon, Jul 22, 2002 at 08:25:02PM +0200, Piotr Krukowiecki wrote: 'set net:limit-rate 5' doesn't work. (it should set the same rate for both down and up) Here is the fix. --- ResMgr.cc 2002/07/18 09:13:49 1.43 +++ ResMgr.cc 2002/07/23 08:25:16 -854,6 +854,7 const char

lftp-pre2.6.0-20020724

2002-07-24 Thread Alexander V. Lukyanov
New prerelease is available. Some bugs fixed, documentation updated. -- Alexander.

Re: terminfo checks, title clearing, tsl/fsl

2002-07-24 Thread Alexander V. Lukyanov
On Sun, Jul 21, 2002 at 10:36:09PM -0400, Glenn Maynard wrote: StatusLine.cc, StatusLine.h: Add tsl/dsl cap support. Used only if cmd:term-status is blank. Clear title in dtor, so we don't leave it behind if the user's shell (or invoking program) doesn't know to clear it. As you have

Re: lftp-pre2.6.0-20020724

2002-07-25 Thread Alexander V. Lukyanov
On Wed, Jul 24, 2002 at 06:04:36PM +0200, Piotr Krukowiecki wrote: Something is wrong with slot's: lftp :~ slot A lftp A :~ o X [standart messages] --- 230 User 'piotr' login successful. --- PWD --- 257 / is the current directory. cd ok, cwd=/ lftp A piotr@X:p?7 rels --- CWD p?7 ---

Re: lftp Cllient.

2002-07-30 Thread Alexander V. Lukyanov
On Tue, Jul 09, 2002 at 11:57:10PM +0400, Salim Soormally wrote: I would like to know if LFTP is compatible on SCO Unix Sys / V - Version 3.2.4.2. I have not tried but it should work, provided that lftp is compiled with gcc. -- Alexander.

lftp-pre2.6.0-20020731

2002-07-31 Thread Alexander V. Lukyanov
New pre-release if available at ftp://lftp.yar.ru/lftp/devel/. * per-slot queues. Now you can have several queues for the same site using 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,

Re: lftp-pre2.6.0-20020724

2002-07-31 Thread Alexander V. Lukyanov
On Tue, Jul 30, 2002 at 09:21:58PM +0200, Piotr Krukowiecki wrote: On Thu, 25 Jul 2002, Alexander V. Lukyanov wrote: It looks like a bug not related to slots. Does the same work without slots? No. Without slots works fine Ok, I have found the bug. Next pre-release will have it fixed

Re: Bug in put -c ?

2002-07-31 Thread Alexander V. Lukyanov
On Mon, Jul 22, 2002 at 08:09:05PM +0200, Piotr Krukowiecki wrote: What's more, lftp reconnect and tries to upload the file all the time without waiting between reconnects. I have fixed this particular problem in pre2.6.0-20020731. -- Alexander.

Re: bug?

2002-08-01 Thread Alexander V. Lukyanov
On Mon, May 13, 2002 at 12:34:19PM -0400, Justin Piszcz wrote: queue mirror -R some_dir_that_doesnt_exist or mirror -R some_dir_that doesnt_exist lftp-2.5.2 still makes that dir on the remote server even though you may have misspelled it? I have fixed it in version 2.6.0, soon to be

Re: url cruft

2002-08-02 Thread Alexander V. Lukyanov
On Thu, Aug 01, 2002 at 06:23:59PM -0400, Glenn Maynard wrote: Patch removes old stuff from class url. (Looks copied-and-pasted from ParsedURL, or maybe vice versa.) I had plans to use it. Anyway, it does not matter as objects of class url are not created anywhere. -- Alexander.

Re: Segfaults with 2.6.1a during tab completion?

2002-09-03 Thread Alexander V. Lukyanov
On Mon, Sep 02, 2002 at 05:59:42PM +0200, Tillmann Steinbrecher wrote: I often get segfaults when using tab completion with lcd and also cd. Am I the only one who has this problem? Also, I got a segfault once when using mirror via FXP. Generally 2.6.1 doesn't seem to have the robustness of

Re: I have a plan for a use of lftp. Need some advise.

2002-09-04 Thread Alexander V. Lukyanov
On Tue, Sep 03, 2002 at 10:47:05AM -0400, Steven W. Orr wrote: I notice that there are no calls inside which use fork or clone, so I was wondering how you implement multiple simultaneous transfers. Is it done using a finite state machine or is there something I'm missing here? Also, could

Re: SFV deletion on mirror

2002-09-06 Thread Alexander V. Lukyanov
On Tue, Sep 03, 2002 at 12:01:58PM +0200, soulshock wrote: lftp 2.6.1 seems to delete the sfv and reupload it, each time you run mirror, not caring if the sfv is identical in size and date. I cannot reproduce it. Maybe the server changes the sfv files, or changes modification date on them? --

Re: Reattachable connections and ncurses interface

2002-09-18 Thread Alexander V. Lukyanov
On Tue, Sep 17, 2002 at 05:27:57PM +0200, Piotr Krukowiecki wrote: If you start any job without any slots (just after starting lftp), and than switch to any slot (slot anything), you can't go back to the job outside all slots. At least i couldn't find any way. slot does the trick. But it

Re: [noel@koethe.net: lftp Debian package]

2002-09-18 Thread Alexander V. Lukyanov
source file? I have borrowed some code from wget quite some time ago, should I take the same code from new wget version with this exception? License ~~~ Copyright (c) 1996-2002 by Alexander V. Lukyanov ([EMAIL PROTECTED]) This program is free software; you can redistribute it and/or modify

Re: bug: wrong percent calculation with files larger than 2gb

2002-09-23 Thread Alexander V. Lukyanov
On Sat, Sep 21, 2002 at 11:59:54PM +0200, Noel Koethe wrote: lftp (2.6.2) has a problem with the percent calculation with files larger than 2 gb (http://bugs.debian.org/157019). This is the file: 245760 Sep 21 23:11 bigfile lftp www:/ get bigfile `bigfile' at 30416896 (100%)

Re: Trouble building 2.6.1 with HP C++ compiler

2002-09-25 Thread Alexander V. Lukyanov
On Tue, Sep 24, 2002 at 07:56:02AM -0500, Albert Chin wrote: : KeyValueDB::Pair(n,s-GetConnectURL()) Error 182: ConnectionSlot.cc, line 35 # ConnectionSlot::SlotValue::SlotValue(const char *,const char *) cannot access protected

Re: Trouble building 2.6.1 with HP C++ compiler

2002-09-26 Thread Alexander V. Lukyanov
On Wed, Sep 25, 2002 at 02:55:41PM -0500, Albert Chin wrote: The patch below fixes it. I have applied this patch. Thanks! -- Alexander.

Re: bug: wrong percent calculation with files larger than 2gb

2002-09-26 Thread Alexander V. Lukyanov
On Sun, Sep 22, 2002 at 06:44:39PM -0400, Glenn Maynard wrote: I notice the timestamp is wrong, too (on both). 06:20pm [EMAIL PROTECTED]/1 [~ftp] touch -t 09221310 foo (about five hours ago, to get it out of the bump the year when the date is in the future window) lftp 0:/ cls -l foo

Re: wrong cls date (was: bug: wrong percent calculation with files larger than 2gb)

2002-09-26 Thread Alexander V. Lukyanov
On Thu, Sep 26, 2002 at 03:45:20PM -0400, Glenn Maynard wrote: On Thu, Sep 26, 2002 at 03:16:14PM +0400, Alexander V. Lukyanov wrote: Note that cls and ls are the same--they're both GMT. cls should be printing local time. It looks like the timezone adjustment is going astray somewhere

Re: wrong cls date (was: bug: wrong percent calculation with files larger than 2gb)

2002-09-27 Thread Alexander V. Lukyanov
On Fri, Sep 27, 2002 at 09:29:01AM +0400, Alexander V. Lukyanov wrote: Yet another try (previous patch did not call settz for unset TZ). Posted it too fast. Here is a better one. -- Alexander. Index: misc.cc === RCS file

Re: wrong cls date (was: bug: wrong percent calculation with files larger than 2gb)

2002-09-30 Thread Alexander V. Lukyanov
On Mon, Sep 30, 2002 at 03:10:36AM -0400, Glenn Maynard wrote: Gek, I figured it out. You unsetenv(), and then the next time it's called, it just changes the static and returns, thinking it was still in the environment (but it's not, since the last call unsetenv()'d it.) Thanks! I've applied

Re: problem with fish / put -c

2002-09-30 Thread Alexander V. Lukyanov
On Mon, Sep 23, 2002 at 12:05:12PM +0200, Haas Wernfried wrote: i am experiencing a strange problem if i try to continue an upload with fish and put -c. i was able to reproduce it with 2 different servers, but i don't know if it is reproducable on every server. Unfortunately, restarting of

Re: lftp, mirror bug

2002-10-11 Thread Alexander V. Lukyanov
On Fri, Oct 11, 2002 at 10:52:42AM +0200, Dr. Michael Traxler wrote: /usr/local/bin/lftp -e set net:max-retries 1; mirror -enR /home/user/Mail; quit fish://computer.gsi.de It works great and reliably, but when it happens, that a file in the directory has the length 0, then the mirror will

Re: [debian #166506] lftp coredumps on nfs/soft over bad networks

2002-11-11 Thread Alexander V. Lukyanov
On Wed, Nov 06, 2002 at 12:46:03PM +0100, Noel K?the wrote: I mirror debian distros to NFSed another host's disk. That mounted as soft. Network is overload and sometimes NFS tells timeout. Because mount is soft write(2) fails and lftp starts next download. But few hours later, after number

Re: lftp-2.6.3 compilation errors on IRIX 6.5

2002-11-11 Thread Alexander V. Lukyanov
On Tue, Nov 05, 2002 at 01:48:57PM +0900, Ayamura KIKUCHI wrote: Compilation errors are detected while compiling lftp-2.6.3 on IRIX 6.5.17f with MIPSpro Compilers 7.3.1.3m and openssl-0.9.7-beta3. I think it is a problem with openssl-0.9.7-beta3. -- Alexander. |

Re: mv in fish not working

2002-11-27 Thread Alexander V. Lukyanov
On Wed, Nov 27, 2002 at 09:37:49PM +0100, Haas Wernfried wrote: hello, mv is not working in fish mode (version lftp-2.6.3): lftp [EMAIL PROTECTED]:~ mv foo bar --- #RENAME bar bar --- mv bar bar; echo '### 000' ^^^ i guess, that's the problem? Thanks for report! Here is the fix.

Re: find and links to dirs

2003-01-15 Thread Alexander V. Lukyanov
On Tue, Jan 07, 2003 at 02:16:17PM -0500, Glenn Maynard wrote: On Tue, Jan 07, 2003 at 03:58:36PM +0100, Piotr Krukowiecki wrote: Even after cd /Anime find won't work :( This is a bug, however. The problem is that it's checking the first path (. in /Anime) like any other argument, seeing

Re: Compile problem found and solved in lftp

2003-01-19 Thread Alexander V. Lukyanov
On Fri, Jan 17, 2003 at 07:54:51PM +0100, Camille Huot wrote: I compile lftp on a : OpenBSD 3.2 sparc The file src/NetAccess.cc didn't find the type in_addr_t for use in netinet/in.h so I had to add #include sys/types.h in top of src/NetAccess.cc to get it compile. Thanks! I have modified

Re: lftpget -c http:// fails with PollVec::Block: BUG - deadlock detected

2003-02-10 Thread Alexander V. Lukyanov
On Sun, Feb 09, 2003 at 05:24:43AM +0900, TAKAHASHI Tamotsu wrote: I'm a lftp lover and I found a bug. A bug seems in lftp-2.6.4. Please try attached patch. -- Alexander. | http://www.yars.free.net/~lav/ Index: FileAccess.cc

Re: fxp resume problem

2003-02-14 Thread Alexander V. Lukyanov
On Thu, Feb 13, 2003 at 09:48:52PM +0100, [EMAIL PROTECTED] wrote: i figured out the the problem depends on the setting set ftp:fxp-passive-source yes when i'm setting this to no there is no problem and everything is working properly. But if i need to use passive-source then lftp stops

Re: Bug: rm -r uses DELE instead of RMDIR to remove directories

2003-02-19 Thread Alexander V. Lukyanov
On Fri, Feb 14, 2003 at 02:31:17PM +0100, Tillmann Steinbrecher wrote: Note, I'm using 2.6.1a; if that's fixed in a newer version, let me know. It was fixed in 2.6.2. Current version is 2.6.4. -- Alexander.

Re: Feature request: implicit ssl ftp

2003-03-06 Thread Alexander V. Lukyanov
On Thu, Mar 06, 2003 at 05:42:56PM +0100, Martin Lund wrote: There are almost no Linux ftp clients which support implicit ssl ftp connections. Since Lftp is my favorite ftp client, I would like to request this feature. It supports it already. Just use: open ftps://site:990

Re: compiling with debug symbols

2003-08-25 Thread Alexander V. Lukyanov
On Mon, Aug 25, 2003 at 01:28:48AM -0400, Mark Blackburn wrote: Has anybody managed to compile lftp with gdb support. My attempt went something like this: $ export CFLAGS='-g -O2 -Wall' $ export CXXFLAGS=$'-g -O2 -Wall -Wwrite-strings -Woverloaded-virtual -fno-exceptions -fno-rtti

Re: I: [PATCH] lftp-2.6.9: support for recent autoconf

2003-11-28 Thread Alexander V. Lukyanov
On Thu, Nov 27, 2003 at 04:24:35PM +0300, Dmitry V. Levin wrote: Looks like calls for AC_LIBOBJ should be quoted now (autoconf = 2.58). Proposed patch is attached. -AC_CHECK_FUNC(hstrerror, , AC_LIBOBJ(hstrerror)) +AC_CHECK_FUNC(hstrerror, , [AC_LIBOBJ(hstrerror)]) Thanks! Patch applied.

Re: PollVec::Block: BUG - deadlock detected

2003-12-11 Thread Alexander V. Lukyanov
Try this patch. -- Alexander.Index: FileCopy.cc === RCS file: /home/lav/cvsroot/lftp/src/FileCopy.cc,v retrieving revision 1.96 diff -u -p -r1.96 FileCopy.cc --- FileCopy.cc 14 Nov 2003 06:43:24 - 1.96 +++ FileCopy.cc 11

Re: script files with DOS line endings

2003-12-15 Thread Alexander V. Lukyanov
On Sun, Dec 14, 2003 at 12:30:46PM -0500, Mark Blackburn wrote: lftp doesn't recognize DOS style text files that end in \r\n instead of the more sensible \n. I'm using the following patch in the next cygwin release of lftp to allow the use of DOS text files. Patch applied. Thanks! --

Re: 2.6.10 patches

2003-12-16 Thread Alexander V. Lukyanov
On Mon, Dec 15, 2003 at 05:42:34PM -0600, Albert Chin wrote: 1. [include/post-config.h] Don't assume C++ compiler defines __STDC__. Applied. 2. [missing] Update to latest version from automake 1.7.9. I imagine anything from 1.7.x should be ok. I have removed these files from cvs,

Re: Building 2.6.10 with IBM C++ compiler on AIX

2003-12-16 Thread Alexander V. Lukyanov
On Mon, Dec 15, 2003 at 06:52:45PM -0600, Albert Chin wrote: ld: 0711-317 ERROR: Undefined symbol: CharReader::NOCHAR ld: 0711-317 ERROR: Undefined symbol: CharReader::EOFCHAR class CharReader : public SMTask { ... static const int NOCHAR=-2; static const int

Re: 2.6.10 patches

2003-12-16 Thread Alexander V. Lukyanov
On Tue, Dec 16, 2003 at 06:18:15AM -0600, Albert Chin wrote: How about lftp_socklen_t instead of socktype_t? That's ok. So should I add jm_cxx_xxx versions of the macros for C++ to m4/inttypes_h.m4, m4/mbstate_t.m4, m4/uintmax_t.m4, m4/stdint_h.m4, and m4/human.m4 and change the

<    7   8   9   10   11   12   13   14   >