[lftp] lftp 4.4.11

2013-11-11 Thread Alexander V. Lukyanov
lftp-4.4.11 has been released. Changes: * fixed a slow down in mirror from http (thanks to OGAWA Hirofumi). * fixed a coredump in sftp when accessing an inexistent file. Get it from http://lftp.yar.ru/get.html or your favorite mirror. -- Alexander.

Re: [lftp] Question About Parallel Mode and Inconsistency

2013-11-12 Thread Alexander V. Lukyanov
On Tue, Nov 12, 2013 at 01:02:45PM -0800, Tim Kelsch wrote: Hello, I'm using LFTP v4.4.8 on rhel6u2 to reverse mirror thousands of files from 5 client hosts to 2 different to VSFTPD servers (2.2.2) on rhel6u2. We're running anywhere between 10-40 LFTP clients on each client host. I'll hold

Re: [lftp] Overwriting with 'put -c' command

2013-11-15 Thread Alexander V. Lukyanov
On Fri, Nov 15, 2013 at 10:47:51AM +0100, Arnaud Rébillout wrote: when doing some tests with lftp, I found a strange behavior with the 'put -c' command. If I want to copy a file to a FTP server, and the file already exists, it seems that the file is copied only if the source is bigger than

Re: [lftp] Recursive directory list without ls -R option?

2013-11-15 Thread Alexander V. Lukyanov
On Thu, Nov 14, 2013 at 12:47:25PM +, Marijn Kampf wrote: I'm trying to get a recursive list of all files uploaded to an SFTP server including file size and date. Unfortunately the server doesn't support the ls -R option. I can get an overview of file size with: du -ba Is there a way

Re: [lftp] lftp 4.4.10: *** Error in `lftp': double free or corruption (!prev): 0x0000000001149700 ***

2013-11-24 Thread Alexander V. Lukyanov
On Thu, Nov 21, 2013 at 05:15:08PM -0500, Justin Piszcz wrote: lftp crashes when I run cls -l: *** Error in `lftp': double free or corruption (!prev): 0x01149700 I still could not reproduce the problem. But please try this patch and report if it makes any difference. -- Alexander.

[lftp] lftp 4.4.13

2013-11-27 Thread Alexander V. Lukyanov
lftp-4.4.13 has been released. Changes: * new option -l (--ls) for find command. * improve workaround for single NL replies from an FTP server. * Ukrainian translation updated (Yuri Chornoivan). * fixed spinning in get when no remote session is open. * don't pre-fetch file information in get when

Re: [lftp] Compiling with ncursesw

2013-11-27 Thread Alexander V. Lukyanov
On Wed, Nov 27, 2013 at 07:53:39AM -0500, Chris Sutcliffe wrote: Is it possible to specify using ncursesw versus ncurses at time of configuration? No. But why do you need it? lftp only uses tigetstr function from ncurses, so the version of ncurses library should not matter. -- Alexander.

Re: [lftp] lftp-4.4.13 -- multi-core/multi-threading support for get on 10GbE networks?

2013-11-28 Thread Alexander V. Lukyanov
On Thu, Nov 28, 2013 at 03:47:54PM -0500, Justin Piszcz wrote: When transferring data on high speed networks (10GbE) lftp hits 100% on a moderately fast Xeon CPU (E5645), the FTP server is not the bottleneck as it uses around 37% CPU (different CPU on the server host). Are there any plans to

Re: [lftp] lftp segmentation fault

2013-12-06 Thread Alexander V. Lukyanov
On Fri, Sep 27, 2013 at 07:06:30PM +, Terry Mark wrote: Hi there, After compiling lftp (with ./configure make), I get a segmentation fault error immediately after calling lftp. This is on CentOS 6.4, x86_64. Any help or advice would be greatly appreciated. Use the latest lftp

Re: [lftp] lftp mirror how to handle just a few sub dirs ?

2013-12-06 Thread Alexander V. Lukyanov
On Thu, Oct 10, 2013 at 01:57:28PM +, smokisalmon wrote: Therefore my -include filter was --include ^/BLA.D[0-9][0-9][0-9][0-9]/.*$ -- mirror --delete --no-empty-dirs --only-newer --include ^/a/b/BLA.D[0-9][0-9][0-9][0-9] --newer-than=now-7days --verbose=3 ./a/b/ ./a/b/ but

Re: [lftp] ftp vs sftp

2013-12-23 Thread Alexander V. Lukyanov
On Fri, Dec 20, 2013 at 07:09:36AM -0500, Robert DuToit wrote: lftp -u username/password server to connect via an expect script. We need to specify whether it is sftp or ftp does lftp -u username/password sftp://server; guarantee that is an sftp connection? Yes. You can also specify

Re: [lftp] Problem with lftp and

2013-12-24 Thread Alexander V. Lukyanov
On Tue, Dec 17, 2013 at 11:34:04PM +0400, Rodriguez Garcia, Jose Luis wrote: I have compiled lftp-4.4.14 and lftp-4.4.8 versions of lftp on Solaris. The problems is that when I do a put *, the wildcard isn't recognized. It says: put * put: /software/src/lftp-4.4.14/src/*: No such file

Re: [lftp] WebDAV issues with 4.4.14 against Apache/mod_dav

2014-01-13 Thread Alexander V. Lukyanov
On Mon, Jan 13, 2014 at 11:21:00PM -0500, Steve Caturan wrote: lftp web...@dav.pixi.me:/ rmdir dodo rmdir: File moved: 301 Moved Permanently (dodo - https://dav.pixi.me/dodo/) This patch should fix the problem. -- Alexander. diff --git a/src/Http.cc b/src/Http.cc index 6262e35..1c7df26

Re: [lftp] LFTP script no longer working

2014-02-14 Thread Alexander V. Lukyanov
On Mon, Dec 30, 2013 at 08:09:42AM +0100, John Niendorf wrote: The problem is that starting last week, if I click on the launcher I made to run the script I get an error: delaying before reconnect... Turn on debug to see what happens. It can be a problem on the server. -- Alexander.

Re: [lftp] Suggestion for improvement for LFTP

2014-02-14 Thread Alexander V. Lukyanov
On Mon, Feb 03, 2014 at 02:59:07PM +0200, vasos g wrote: I am using to reliably upload files with a method I call mvrm. It merely consists of: a) upload to a staging area. b) move prod to a templocation c) move stage to prod. d) rm templocation. I suppose you can imagine possible uses of this.

Re: [lftp] fsetstat with sftp and verion 4.3.3

2014-03-04 Thread Alexander V. Lukyanov
On Fri, Feb 21, 2014 at 02:50:39PM +0100, Eisenblätter, Mark wrote: but i was note able to get rid of the fsetstat call, which fails. I think the main problem is the CLOSE operation which also fails: --- sending a packet, length=13, type=4(CLOSE), id=23 --- got a packet, length=24,

Re: [lftp] string of commands and lftp output

2014-03-11 Thread Alexander V. Lukyanov
On Tue, Mar 11, 2014 at 06:07:59AM -0400, Robert DuToit wrote: Where in the code would I look for the switch be that turns down the verbose levels? You can take a look at: bool Log::WillOutput(int l) void MirrorJob::va_Report(const char *fmt,va_list v) also you can try:

Re: [lftp] Questions about LFTP

2014-03-12 Thread Alexander V. Lukyanov
On Wed, Mar 12, 2014 at 02:17:51PM +0800, peng li wrote: Hello, very thank you for your application development, when I was in the use of LFTP, there is an argument I don't know what is the format, you can tell me, because I did not find relevant explanation on the Internet *mirror *-N,

Re: [lftp] Can't connect to FreeBSD sftp

2014-03-13 Thread Alexander V. Lukyanov
On Tue, Mar 11, 2014 at 03:20:53PM +0100, Michael Ross wrote: read(8,x...@www.ross.cx's password:...,65536) = 33 (0x21) read(8,Password for root@lftp:,65536)= 23 (0x17) So the prompt is different. I suspect that lftp did not recognize the second prompt for password. I'll

Re: [lftp] Can't connect to FreeBSD sftp

2014-03-14 Thread Alexander V. Lukyanov
On Thu, Mar 13, 2014 at 12:17:29PM +0400, Alexander V. Lukyanov wrote: On Tue, Mar 11, 2014 at 03:20:53PM +0100, Michael Ross wrote: read(8,x...@www.ross.cx's password:...,65536) = 33 (0x21) read(8,Password for root@lftp:,65536) = 23 (0x17) So the prompt is different. I

Re: [lftp] lftp stuck at Getting directory content (51558960) [receiving data]

2014-03-27 Thread Alexander V. Lukyanov
On Thu, Mar 27, 2014 at 11:40:25AM +0100, nopleasenospam wrote: Now I have a problem with a folder containing +380 000 files, it is stuck at: Getting directory content (51558960) [receiving data] And it's like that since 10 hours. Do you use the latest stable lftp version? (4.4.15) Try to

Re: [lftp] lftp stuck at Getting directory content (51558960) [receiving data]

2014-03-27 Thread Alexander V. Lukyanov
On Thu, Mar 27, 2014 at 03:41:53PM +0400, Alexander V. Lukyanov wrote: If it shows nothing, run gdb /usr/bin/lftp PID and type info stack. pstack PID is a simpler command for this. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http

Re: [lftp] lftp find command and patterns/asterisk

2014-04-18 Thread Alexander V. Lukyanov
On Tue, Apr 15, 2014 at 11:21:30AM +, tilo.mue...@bertelsmann.de wrote: Hi, we want to exit lftp processing, when a file pattern is not matching. This exits with RC=8, if no hugo.xml file is present: find hugo.xml || exit 8; find command expects a directory to dive into in the command

Re: [lftp] segmentation fault

2014-06-02 Thread Alexander V. Lukyanov
On Sat, May 31, 2014 at 09:02:10AM +0400, 6bx2 wrote: For unknown reason downloading of torrent data freeze on 48%. Verification ends with segmentation fault. lftp :~ torrent V_nachale_slavnyh_del_1980_DVDRip_ot_Files-x.torrent Ошибка сегментации: 11_DVDRip_ot_Files-x: Проверка: 327/701 (46%)

Re: [lftp] Segmentation fault in lftp-4.5.0

2014-06-02 Thread Alexander V. Lukyanov
On Tue, May 27, 2014 at 11:11:46AM +1100, Michael Uleysky wrote: Segmentation error when ftp mirroring. It should be fixed in just released 4.5.1. Please try. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru

Re: [lftp] LFTP retry behavior when a file is not present

2014-06-02 Thread Alexander V. Lukyanov
On Tue, Apr 08, 2014 at 04:46:15PM -0400, Miller-Jacobson, Ben wrote: One of my coworkers recently encountered a problem in one of our scripts where the script would apparently hang after first being moved to a new machine in which the none of the old files it was supposed to move were yet

Re: [lftp] {Disarmed} Problem lftp towards Axway Synchrony Gateway

2014-06-02 Thread Alexander V. Lukyanov
On Thu, Apr 17, 2014 at 11:55:46AM +0200, Laurent Chartinier wrote: I have an SFTP server hosted by Axway Synchrony Gateway. For connecting to this server, we use user/password. I can connect to my server with WinSCP, FileZilla and lftp 4.0.9 (RHEL 6.5). With lftp 4.4.8, i have an error : $

Re: [lftp] lftp 3.5.0+ segfault

2014-06-06 Thread Alexander V. Lukyanov
On Wed, Jun 04, 2014 at 09:15:44PM -0500, MIS Center wrote: I'm experiencing a segfault when just invoking the lftp command, on RHEL5-32/64 and RHEL6-32/64, starting with version 3.5.0, then 3.5.1 Please try the latest snapshot: http://lftp.yar.ru/ftp/devel/lftp-4.5.1.20140606.tar.gz --

Re: [lftp] lftp and patterns

2014-06-10 Thread Alexander V. Lukyanov
On Tue, Jun 10, 2014 at 08:41:04AM +, tilo.mue...@bertelsmann.de wrote: Hi Alexander, yep, we’ve already tried cls before. But regarding the exit code, it works the same as ls. You can use temporary files like this: lftp cls *.csv listing lftp source -e test -s listing

Re: [lftp] lftp Exit code when using mget

2014-06-10 Thread Alexander V. Lukyanov
On Tue, Jun 10, 2014 at 12:38:06PM +, tilo.mue...@bertelsmann.de wrote: OK, thanks for the suggestion with the mirror command. I think it will work this way. Anyway, my suggestion: Maybe this could be implemented with an global lftp switch which affects all protocols:

Re: [lftp] certificated validation

2014-06-11 Thread Alexander V. Lukyanov
On Wed, Jun 11, 2014 at 01:55:23AM +0200, Szépe Viktor wrote: Could you help me how to solve to Not trusted: no issuer was found error? Maybe lftp cannot parse ca-certificates.crt? (Debian wheezy) 4.5.1 does the same. Also with fresh ca bundle

[lftp] lftp 4.5.2

2014-06-11 Thread Alexander V. Lukyanov
lftp-4.5.2 has been released. Changes: * fixed a coredump on startup when compiled with certain gcc versions. * mkdir -q option for quiet operation. * glob --exist and --not-exist options. * improved torrent status, show piece availability statistics. * remove unconnectable torrent peers on

Re: [lftp] lftp 4.5.1 Segmentation fault on CentOS 6.5

2014-06-11 Thread Alexander V. Lukyanov
On Tue, Jun 10, 2014 at 09:33:33AM -0500, Heath Skarlupka wrote: After compiling lftp 4.5.1 on a CentOS 6.5 x86_64 box, the lftp command segfaults before the lftp prompt shows up on the command line. I recompiled Thanks for the report! This problem is fixed in just released lftp 4.5.2. --

Re: [lftp] issue with SITE commands and retries

2014-06-11 Thread Alexander V. Lukyanov
On Tue, Jun 10, 2014 at 10:58:12AM +0200, Mattias Bergvall wrote: I have an issue with LFTP (Version 4.4.15) when it comes to “misbehaving” mainframe remote sites. The problem occurs when the FTP server/proxy (IBM FTP CS V1R13) fails to get exclusive permissions to the target dataset (file).

Re: [lftp] Mirror to remote except particular folder present on remote

2014-06-19 Thread Alexander V. Lukyanov
On Thu, Jun 19, 2014 at 09:15:11PM +0900, Nicolas Raoul wrote: Hello all, I usually edit my website locally and push it with this command: lftp -u user,password host -e mirror -c -e -R -x ^\.git/$ my /my; exit But now, my website dynamically adds data to the /my/data/ folder. I don't

[lftp] lftp 4.5.3

2014-07-06 Thread Alexander V. Lukyanov
lftp-4.5.3 has been released. Changes: * new setting ftp:site. * don't uncompress http body when Contrent-Type is compressed. * check source address of DHT replies. * discard disconnected torrent peers only after a timeout. Get it from http://lftp.yar.ru/get.html or your favorite mirror.

Re: [lftp] additional: Is the package known to compile on AIX(gcc) or AIX(xlc)?

2014-07-09 Thread Alexander V. Lukyanov
On Mon, Jul 07, 2014 at 01:13:06PM +0800, liweiyang wrote: Attached my config.log ,ths. You have to install g++: g++ -o conftest -O -D_THREAD_SAFE -s conftest.cpp 5 g++: not found -- Alexander. ___ lftp mailing list

Re: [lftp] mirror with transfers ordered by date

2014-07-09 Thread Alexander V. Lukyanov
On Mon, Jun 30, 2014 at 07:12:16PM -0300, Carlos Colombo wrote: Hi, How can I use lftp to mirror a site doing transfers of older files prior to newer files. It is not possible now. Mirror sorts the files by name. I am thinking on writing a script to queue individual transfers using the

Re: [lftp] mirror with transfers ordered by date

2014-07-10 Thread Alexander V. Lukyanov
On Wed, Jul 09, 2014 at 11:05:53AM +0400, Alexander V. Lukyanov wrote: On Mon, Jun 30, 2014 at 07:12:16PM -0300, Carlos Colombo wrote: Hi, How can I use lftp to mirror a site doing transfers of older files prior to newer files. It is not possible now. Mirror sorts the files by name. I

[lftp] lftp 4.5.4

2014-08-06 Thread Alexander V. Lukyanov
lftp-4.5.4 has been released. Changes: * new setting mirror:sort-by (name, size, date). * torrent: reduced cpu and memory usage. * fixed occasional BUG:deadlock message. * fixed a segfault when a directory contains duplicate file names. * fixed a memory leak in torrent. * fixed byte counters in

Re: [lftp] lftp 4.5.4

2014-08-11 Thread Alexander V. Lukyanov
On Mon, Aug 11, 2014 at 09:22:16AM +0200, Mattias Bergvall wrote: I wonder how to prevent retries and to make LFTP fail-exit on connection problems (when the server is down, for instance). Please try this patch. -- Alexander. diff --git a/src/FileAccess.cc b/src/FileAccess.cc index

Re: [lftp] FW: lftp output

2014-08-11 Thread Alexander V. Lukyanov
On Sat, Aug 09, 2014 at 06:48:06PM +0100, Jorge Mendes wrote: Those 5 errors are file size decreased during transfer. It's weird because its not correct, all transfers are good. Please check the version of lftp. Such an error was fixed in 4.4.13 (the bug existed in 4.4.12). If possible, upgrade

Re: [lftp] Compilation errors with lftp 4.5.4

2014-08-19 Thread Alexander V. Lukyanov
On Mon, Aug 11, 2014 at 02:21:02PM -0500, Andrew Reis wrote: Receiving the following errors that are stopping compilation: lftp_ssl.cc: In constructor 'lftp_ssl_openssl::lftp_ssl_openssl(int, lftp_ssl_base::handshake_mode_t, const char*)': lftp_ssl.cc:835: error: 'SSL_set_tlsext_host_name'

Re: [lftp] lftp enhancement request: command line option to inhibit loading of ~/.lftprc

2014-08-19 Thread Alexander V. Lukyanov
On Sat, Aug 09, 2014 at 02:06:57PM +0200, Andreas Luik wrote:   I would like to propose a small enhancement for lftp: I use it from a cron-Job and was looking for a way to inhibit loading of (user specific-) settings from the ~/.lftprc or ~/.lftp/rc to make sure that settings in these file do

[lftp] lftp 4.5.5

2014-09-04 Thread Alexander V. Lukyanov
lftp-4.5.5 has been released. Changes: * added support for internationalized domain names. * added lftp --norc option. * added mirror Finished message. * added ftp:catch-size setting. * fixed net:max-retries setting. * fixed byte counters in mirror status. * fixed a segfault in ftps. * fixed a

Re: [lftp] lftp 4.5.5

2014-09-04 Thread Alexander V. Lukyanov
On Fri, Sep 05, 2014 at 12:52:10AM +0200, Juan Simón wrote: What is the meaning of this change 'added mirror Finished message'? Now mirror writes another messages when a transfer finishes, something like Finished transfer `path/file' (100 Kb/s) when verbose=2. -- Alexander.

Re: [lftp] feature request: ls sorting by time (and possibly the other columns?)

2014-09-04 Thread Alexander V. Lukyanov
On Thu, Sep 04, 2014 at 11:06:25PM -0400, Dan39 wrote: I would like to be able to sort the output of ls by the last modified time column. It looks like by default it is sorted by name, which I think is actually just how the ftpd returns it when doing LIST. Is there currently no mechanism in

Re: [lftp] lftp 4.5.5

2014-09-05 Thread Alexander V. Lukyanov
On Thu, Sep 04, 2014 at 04:08:53PM +0400, Alexander V. Lukyanov wrote: lftp-4.5.5 has been released. Changes: * added support for internationalized domain names. * added lftp --norc option. * added mirror Finished message. * added ftp:catch-size setting. * fixed net:max-retries setting

Re: [lftp] Why is PROT P issued twice?

2014-09-08 Thread Alexander V. Lukyanov
On Mon, Sep 08, 2014 at 07:30:53PM -0400, Stephen Powell wrote: On Mon, 08 Sep 2014 03:53:13 -0400 (EDT), Alexander Lukyanov wrote: Please send the debug log (use command debug to turn it on). For security reasons I have redacted or changed some things, such as userids, passwords, domain

Re: [lftp] Why is PROT P issued twice?

2014-09-10 Thread Alexander V. Lukyanov
On Tue, Sep 09, 2014 at 09:37:16PM -0400, Stephen Powell wrote: But now I'm having a different problem, which I don't think I was having before. It appears to be trying to close the control socket twice. Or maybe it's just printing out garbage from a message buffer that it shouldn't be

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-15 Thread Alexander V. Lukyanov
On Fri, Sep 12, 2014 at 07:06:02PM -0400, Stephen Powell wrote: With set ftp:use-quit yes in effect, which is the default value for this option, lftp will issue the QUIT command to the server in response to an lftp close command. But lftp does not wait for the server to respond with the 221

Re: [lftp] FTP'ing files to server, then renaming them.

2014-09-18 Thread Alexander V. Lukyanov
On Wed, Sep 10, 2014 at 04:01:59PM +0100, jane highland wrote: Is there a way within LFTP to either send up a number of files up to an FTP server, then change their extension (from say .temp) to something else like .data Please try development snapshot

Re: [lftp] Status for incomplete files

2014-09-19 Thread Alexander V. Lukyanov
On Fri, Sep 19, 2014 at 01:36:18AM +0530, akshay gupta wrote: I am looking for a way to know the file is still getting transferred and is incomplete. Some file downloaders append some token such as _tmp or something else to the file name until its getting transferred when the file transfer

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-22 Thread Alexander V. Lukyanov
On Mon, Sep 22, 2014 at 10:02:29PM -0400, Stephen Powell wrote: I tried setting both of these server options to yes and tried my get with lftp again. The last few lines of output in the debug file are now as follows: Got EOF on data connection Closing data socket --- 426 Failure

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-09-29 Thread Alexander V. Lukyanov
On Mon, Sep 29, 2014 at 08:57:23PM -0400, Stephen Powell wrote: I cannot reproduce it. Please use strace on the lftp process, also use pstack PID on it and send me the output. I can reproduce the problem if I run the lftp command directly at a shell prompt, but if I run the lftp command

Re: [lftp] lftp does not wait for 221 Goodbye message before closing control connection

2014-10-03 Thread Alexander V. Lukyanov
On Fri, Oct 03, 2014 at 06:31:59AM -0400, Stephen Powell wrote: On Tue, 30 Sep 2014 01:14:23 -0400 (EDT), Alexander V. Lukyanov wrote: You can use gdb instead of pstack: $ gdb lftp PID ...attached... (gdb) bt OK, here's the results from using gdb, but I don't know how

Re: [lftp] 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.

Re: [lftp] LFTP, download only files from TODAY

2014-10-13 Thread Alexander V. Lukyanov
On Sat, Oct 11, 2014 at 02:34:19PM +0200, Vlad Olariu wrote: I am wondering if with lftp I can sync only files that were created TODAY (the day I execute lftp). See mirror --newer-than option. I think 00:00 today argument should do. -- Alexander.

[lftp] lftp 4.5.6 (stable) and 4.6.0

2014-10-14 Thread Alexander V. Lukyanov
lftp-4.5.6 and 4.6.0 have been released. Changes: Version 4.6.0: * new torrent --share option. * new setting mirror:require-source. * new settings xfer:use-temp-file and xfer:temp-file-name. * ftp: wait for QUIT reply before closing control socket. + fixes from 4.5.6 Version 4.5.6 (stable - bug

Re: [lftp] providing key file for ssh in fish protocol

2014-10-14 Thread Alexander V. Lukyanov
On Tue, Oct 14, 2014 at 04:12:50PM +0530, akshay gupta wrote: I want provide a key file for authentication in fish protocol. Fish internally uses ssh for connection and ssh have a support for providing key files for password less authentication, how can I provide key file using lftp for FISH

Re: [lftp] lftp 4.5.6 (stable) and 4.6.0

2014-10-14 Thread Alexander V. Lukyanov
On Tue, Oct 14, 2014 at 01:57:58PM +0200, Juan Simón wrote: Error to compile lftp-4.6 on Ubuntu 14.04 64 bits with './configure --with-modules --without-gnutls --without-openssl': Making all in m4 Making all in doc Making all in lib Making all in src ftpclass.cc: In member function 'virtual

Re: [lftp] lftp 4.5.6 (stable) and 4.6.0

2014-10-14 Thread Alexander V. Lukyanov
On Tue, Oct 14, 2014 at 02:14:26PM +0200, Juan Simón wrote: lftp_ssl.cc:563:62: error: 'GNUTLS_E_PREMATURE_TERMINATION' was not declared in this scope else if(res==GNUTLS_E_UNEXPECTED_PACKET_LENGTH || res==GNUTLS_E_PREMATURE_TERMINATION) Please see this patch. -- Alexander. diff

Re: [lftp] providing key file for ssh in fish protocol

2014-10-27 Thread Alexander V. Lukyanov
authentication methods are used. -- Alexander. On Wed, Oct 15, 2014 at 10:51 AM, Alexander V. Lukyanov l...@netis.ru wrote: On Tue, Oct 14, 2014 at 04:12:50PM +0530, akshay gupta wrote: I want provide a key file for authentication in fish protocol. Fish internally uses ssh

Re: [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] RSS/ATOM feed

2014-10-27 Thread Alexander V. Lukyanov
On Mon, Oct 27, 2014 at 03:15:23PM +0100, Szépe Viktor wrote: Could you start a release notification feed for http://lftp.yar.ru/events.html ? Please try http://lftp.yar.ru/events.xml Feel free to suggest improvements. -- Alexander. ___ lftp

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

2014-10-28 Thread Alexander V. Lukyanov
On Tue, Oct 28, 2014 at 12:59:40PM +0530, akshay gupta wrote: will giving --delete-first option in lftp mirror help in my case? I think This option deletes files not present on the source side first, then starts downloading. It does not delete the file before overwriting. -- Alexander.

Re: [lftp] RSS/ATOM feed

2014-10-29 Thread Alexander V. Lukyanov
don't think it is needed to know C to submit a bug report. Are you able to read gnutls_certificate_get_peers's source? I can't reproduce this problem, so it's hard for me to debug it. -- Alexander. Idézem/Quoting Alexander V. Lukyanov l...@netis.ru: On Mon, Oct 27, 2014 at 04:28:11PM +0100

Re: [lftp] lftp minor bug: pwd might print wrong cwp when used as first command

2014-11-24 Thread Alexander V. Lukyanov
On Fri, Nov 21, 2014 at 08:53:19PM +0100, Andreas Luik wrote:   we found a small bug in lftp (at least still present in 4.5.4): when pwd is the first command used, it prints / (which is the initial cached value), but this might be wrong when the ftp-user's home directory is not the root

Re: [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] 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] 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] Mirror and ASCII transfer selection

2014-12-15 Thread Alexander V. Lukyanov
On Sat, Dec 13, 2014 at 11:15:40PM +0100, Franck Eyraud wrote: There is already a --ascii option to the mirror command (implies --ignore-size), which could be selectively applied to files matching a pattern. Wow, I have forgot about this option. In fact, I though afterwards the I could get

[lftp] lftp 4.6.1

2015-01-01 Thread Alexander V. Lukyanov
lftp-4.6.1 has been released. Changes: * new mirror option --scan-all-first. * mirror --Remove-source-files now removes files already present at the target. * added a workaround for FUSE with HadoopFS I/O error during rename(2). * fixed du to round file size up to block size. * fixed compilation

Re: [lftp] problem with lftp exit code

2015-02-16 Thread Alexander V. Lukyanov
. You can also play with glob --not-exist, but I suspect there is no perfect solution now. Test the connection first by cd . || exit 1. -- Alexander. -Original Message- From: Alexander V. Lukyanov [mailto:l...@netis.ru] Sent: maandag 16 februari 2015 13:15 To: Edward Borst Cc

Re: [lftp] lftp 4.6.1 - issue with close command

2015-01-28 Thread Alexander V. Lukyanov
On Wed, Jan 28, 2015 at 04:28:10PM -0600, System Administrator wrote: Imagine the following scenario: open -u username1,password1 -p 22 sftp://site1/ - works mput /tmp/site1.* - works close open -u username2,password2 -p 22 sftp://site2/ - fails mput /tmp/site2.* - since the lat

Re: [lftp] General question

2015-02-10 Thread Alexander V. Lukyanov
On Tue, Feb 10, 2015 at 08:42:07PM +, Michal Wiczynski wrote: My question is if it's possible to download just one file, but using mirror. You can mirror a single file by name (see mirror -f option). For example I would like to download oldest file from the server without earlier knowing

Re: [lftp] problem with lftp exit code

2015-02-16 Thread Alexander V. Lukyanov
On Mon, Feb 16, 2015 at 07:12:35AM +, Edward Borst wrote: Someone else an idea to solve this? I expected that if I use glob -exist the exit code would be 0. You can use this: glob --exist /tmp/mtc/otp*.* || exit 0 -- Alexander. ___

Re: [lftp] [Enhancement] Option to specify config file

2015-03-18 Thread Alexander V. Lukyanov
On Wed, Mar 18, 2015 at 12:49:16AM +0100, Juan Simón wrote: It would be great an option to specify a config file different of default. It would be useful another option to indicate to lftp that it doesn't load any config file, that it uses the default values. There is lftp --norc option, but

Re: [lftp] FTP-over-HTTP

2015-03-19 Thread Alexander V. Lukyanov
On Wed, Mar 18, 2015 at 05:06:33PM -0300, Guilherme Silveira wrote: I am new to lftp and would like to ask some questions...Please forgive me if the questions are dumb I need to implement the server side of a communication system that uploads and downloads files. The client side is using

Re: [lftp] Add option to specify non-standard zlib

2015-03-20 Thread Alexander V. Lukyanov
On Sun, Feb 22, 2015 at 12:21:14AM -0600, Andrew Reis wrote: I'd like to be able to compile against a non-system zlib (and possibly other libraries) in non-standard locations. I see that gnutls and openssl can be specified but not zlib. Can this be added in the next release? I have added

Re: [lftp] issue with SITE commands and retries

2015-03-12 Thread Alexander V. Lukyanov
On Thu, Mar 12, 2015 at 09:55:13AM +0100, Mattias Bergvall wrote: The problems with FTP-retries is not fixed when setting net:max-retries 1 and cmd:fail-exit true. Am I using the wrong variables? I use LFTP | Version 4.6.0 | Copyright (c) 1996-2014 Alexander V. Lukyanov with Libraries used

Re: [lftp] [LFTP] https_proxy

2015-03-10 Thread Alexander V. Lukyanov
On Wed, Mar 04, 2015 at 09:52:36AM +0100, Vincent Lasselin wrote: One example of an unsuccessfull connection with https. Thanks! Please try this patch. -- Alexander. diff --git a/src/Http.cc b/src/Http.cc index 9705f36..de01b40 100644 --- a/src/Http.cc +++ b/src/Http.cc @@ -414,10 +414,14 @@

Re: [lftp] 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] [LFTP] https_proxy

2015-02-25 Thread Alexander V. Lukyanov
On Tue, Feb 10, 2015 at 02:51:04PM +0100, Vincent Lasselin wrote: I'm using lftp to access an https url. I'm using an https proxy. I've set https_proxy variable and it's not working... With wireshark, I've constated that the CONNECT frame is send without credentials to my proxy : cd:

Re: [lftp] FTP-over-HTTP

2015-03-26 Thread Alexander V. Lukyanov
On Tue, Mar 24, 2015 at 04:24:44PM -0300, Guilherme Silveira wrote: I would like to clarify one thing: is it possible to implement all functionalities the ftp protocol has (download, upload, resume upload/download, directory listing, mirror) with just pure https, no extension methods or

Re: [lftp] Openstack swift

2015-04-17 Thread Alexander V. Lukyanov
protocol on top of it. But I don't have any openstack/swift infrastructure handy, so I won't be able to test it. It means I won't be able to develop such a thing effectively. Idézem/Quoting Alexander V. Lukyanov l...@netis.ru: On Thu, Apr 16, 2015 at 01:49:32PM +0200, Szépe Viktor wrote

Re: [lftp] lftp mirror in reverse mode

2015-04-13 Thread Alexander V. Lukyanov
On Mon, Apr 13, 2015 at 09:09:18AM +, Iustin wrote: I got the impression that in reverse mode the --use-pget-n=10 option is not used. pget is only for downloading. It cannot be used for upload, at least now. It is so historically, since plain ftp is unreliable in regard of storing a shard

Re: [lftp] lftp 4.6.3a

2015-06-19 Thread Alexander V. Lukyanov
On Fri, Jun 19, 2015 at 06:44:52PM +0200, Juan Simón wrote: Thanks. Which is the default option to mirror:recursion and mirror:overwrite? It's the same as before: always and no. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru

Re: [lftp] lftp 4.6.1 in cygwin win8.1

2015-05-22 Thread Alexander V. Lukyanov
On Wed, May 20, 2015 at 09:34:40PM +, LeeKiseok wrote: I am using lftp version 4.6.1 in cygwin in windows 8.1 system. However, I am currently having difficulty to connect to the host. When I type “lftp anysite” It just says “find host….” and stay hangs there forever. In windows 7 there

Re: [lftp] Insert current working directory at local in prompt

2015-08-19 Thread Alexander V. Lukyanov
On Wed, Aug 19, 2015 at 03:26:27PM +0200, Juan Simón wrote: l by local? ;-) Ok, please see https://github.com/lavv17/lftp/commit/5084726c2533abd382baf4b404cef28af64846b6 -- Alexander. 2015-08-19 15:24 GMT+02:00 Alexander V. Lukyanov l...@netis.ru: On Wed, Aug 19, 2015 at 01:04:30PM

Re: [lftp] RV: lftp & compressed transmission to improve bandwidth consumption

2015-11-12 Thread Alexander V. Lukyanov
On Thu, Aug 20, 2015 at 02:59:11PM -0300, Alejandro Gonzalez wrote: > nice to meet you, I'm Alejandro from Argentina (Alexander in Spanish). I'm > using lftp application, is a very nice tool, on an embedded application > > and I'm searching to improve the bandwidth consumption. In many internet >

Re: [lftp] RV: lftp & compressed transmission to improve bandwidth consumption

2015-12-16 Thread Alexander V. Lukyanov
On Tue, Nov 17, 2015 at 08:06:53PM -0300, Alejandro Gonzalez wrote: > I will compile and test, then I will send you feedback. About the > compression level selector will be useful. You can try the latest development snapshot from ftp://ftp.yar.ru/pub/source/lftp/devel/lftp-4.6.5.90.tar.gz >

Re: [lftp] "kill all" only kills actual job

2016-06-08 Thread Alexander V. Lukyanov
On Tue, Jun 07, 2016 at 09:25:43PM +0200, Juan Simón wrote: > lftp v4.7.2 > Steps to reproduce: > >1. Queue several downloads with "queue pget" or "queue mirror" >2. Try to kill all jobs (actual and queued) with "kill all" > > Expected result: > All jobs (actual and queued) should be

Re: [lftp] --size-range=RANGE examples?

2016-06-14 Thread Alexander V. Lukyanov
On Mon, Jun 13, 2016 at 10:24:34AM -0700, Steven Dennis wrote: > Hello. I would like to limit the size of files that are mirrored but I am > unsure of the format that I should use. I would like to mirror all files > that at 0-200 MB in size. > > Would this work? > > --size-range=*0MB-200MB* I

Re: [lftp] Excluding list of files?

2016-03-10 Thread Alexander V. Lukyanov
Ok, I have added new mirror options. Please see https://github.com/lavv17/lftp/commit/391b5b9ee0c9f5c58cfad0951f3f6b1e15a12cc2 On Thu, Mar 10, 2016 at 05:36:59PM +, Alexander Lukyanov wrote: > Is it better to list file patterns in the file or plain file paths? > > вт, 1 марта 2016, 7:56

[lftp] lftp 4.7.1

2016-04-04 Thread Alexander V. Lukyanov
lftp-4.7.1 has been released. Changes: Version 4.7.1 - 2016-04-04 * http: fixed authentication for proxy, transient errors, max-retries=1. * http: fixed put with authentication not to use HEAD request. * translations updated (cs, ru). Get it from http://lftp.yar.ru/get.html or your favorite

Re: [lftp] Czech translation for lftp 4.7.0

2016-04-04 Thread Alexander V. Lukyanov
On Thu, Mar 31, 2016 at 05:24:55PM +0200, Petr Pisar wrote: > Hello, > > I updated Czech translation for 4.7.0 sources and the compressed catalog > is attached. Will be included in 4.7.1. Thanks! -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru

Re: [lftp] ftp: wait for QUIT reply before closing control socket

2016-03-30 Thread Alexander V. Lukyanov
On Tue, Mar 29, 2016 at 06:25:27PM -0500, Nate Sutton wrote: > Is there a way to disable this? I just went from 4.2.2 to 4.6.5 and at > least one FTP server I integrate with doesn't always reply to QUIT > commands. I'm not sure of the implications of `set ftp:use-quit false` so I think `set

Re: [lftp] misbehaving HTTP server makes lftp retry forever

2016-04-14 Thread Alexander V. Lukyanov
ms in this case that > > limiting the number of retries when the peer terminates the connection > > would be better, since otherwise it gets that error message and retries the > > transfer again and again forever. > > > > Thoughts? > > > > On Wed, Apr 13,

Re: [lftp] [Enhancement] Option to specify config file

2016-04-29 Thread Alexander V. Lukyanov
host name, URL or bookmark name > >> > >>2. In man file the options of lftp command are near the end, when I > >think they should be at the beginning. > > > > > > 2015-03-18 8:13 GMT+01:00 Alexander V. Lukyanov <l...@netis.ru

<    5   6   7   8   9   10   11   12   13   14   >