Re: [lftp] lftp 4.8.0 fails on RHEL/CentOS 6

2017-09-16 Thread Alexander V. Lukyanov
On Fri, Jul 14, 2017 at 04:06:52AM +0200, Andreas M. Kirchwitz wrote: > Dear LFTP developers, > > I'm using lftp on various servers, some of them running RHEL/CentOS 6 > (which is still supported by RedHat for several years :-) > > Compilation worked fine with previous versions (eg, 4.7.7) but it

Re: [lftp] torrent sharing

2017-09-14 Thread Alexander V. Lukyanov
ily()==AF_INET6) { > > > > return IN6_IS_ADDR_SITELOCAL(_addr) > > > > || IN6_IS_ADDR_LINKLOCAL(_addr); > > > >} > > > > #endif > > > >return false; > > > > } > > > > > > > > and it s

Re: [lftp] torrent sharing

2017-09-14 Thread Alexander V. Lukyanov
On Thu, Sep 14, 2017 at 09:12:40PM +0800, Stu Midgley wrote: > Thanks for the quick response. > > I started the bootstrap-dht and the lftp client and server on the single > machine (172.16.250.40) which is a machine without external access to the > internet (hence why I want to run my own dht

Re: [lftp] torrent sharing

2017-09-14 Thread Alexander V. Lukyanov
On Thu, Sep 14, 2017 at 03:56:39PM +0800, Stu Midgley wrote: > Afternoon > > I've been trying to get lftp to share a directory to a torrent and then > download it via the torrent on another machine. > > Unfortunately, I haven't had any success. > > on machine1, I have setup and installed

Re: [lftp] [PATCH] Czech translation for 4.8.0

2017-07-14 Thread Alexander V. Lukyanov
Applied. Thanks! -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp

[lftp] lftp-4.8.0 released.

2017-07-10 Thread Alexander V. Lukyanov
Hello! lftp version 4.8.0 has been just released. What's new: * mirror: improved performance of --scan-all-first for big trees. * mirror: new --flat option to flatten the target directory structure. * mmv: new command for file moving; redirect mv to mmv in certain cases. * fixed compilation with

Re: [lftp] LFTP HTTP CONNECT support

2017-06-22 Thread Alexander V. Lukyanov
On Wed, Jun 21, 2017 at 08:14:50PM +, Eric Laganowski wrote: > I want to ask the following question: as you likely know already you can > tunnel pretty much any of the lftp-supported protocols over HTTP CONNECT > tunnel; thus my question is: is it possible to configure an HTTP proxy > within

Re: [lftp] Problem parsing list output : no automatic mirror nor browse is possible

2017-05-12 Thread Alexander V. Lukyanov
buggy, but is there a way to work > > around that ? Of course, I have no control over the server, that would be > > too easy, I have to deal with this, and download data from there... > > > > Thank you ! > > > > Franck commit 4a68c00e773eca3efa12f1c2cd0c91ecb088e600 Author: Al

Re: [lftp] HTTP/2.0

2017-04-26 Thread Alexander V. Lukyanov
On Wed, Apr 26, 2017 at 12:44:21PM +0200, Juan Simón wrote: > Hi, > Does lftp support HTTP/2.0? If yes, how enable it in lftp? No, not yet. But it would not benefit much anyway, as the real benefits of http/2.0 come from simultaneous (interleaved) downloads of multiple components of a web page.

Re: [lftp] Make certificate verification great again

2017-03-21 Thread Alexander V. Lukyanov
On Mon, Mar 20, 2017 at 11:49:46PM +0100, Daniel Fazekas wrote: > On Mar 20, 2017, at 14:55, Nathanaël Naeri wrote: > > Is that an issue that this hosting company could do something about? I > > can ask their sysadmins for help. > > It's a common setup mistake to make

Re: [lftp] Make certificate verification great again

2017-03-14 Thread Alexander V. Lukyanov
I can't reproduce the problem. Here is what I get with OpenSSL 1.0.2k: Certificate depth: 3; subject: /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root; issuer: /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root Certificate depth:

Re: [lftp] lftp-4.7.6 compilation error - lftp_ssl.cc:1069:17: error: aggregate 'X509_OBJECT obj' has incomplete type and cannot be defined

2017-02-16 Thread Alexander V. Lukyanov
Please test "compile-with-openssl-1-1-0" branch from github. Thanks! -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Re: [lftp] "mirror --include-glob=..." doesn't works well

2017-02-07 Thread Alexander V. Lukyanov
On Thu, Feb 02, 2017 at 12:46:22PM +0100, Juan Simón wrote: > lftp v4.7.5 > > I have several folders in server with similar name: > >- Body Search/ >- Body Soul 1/ >- Body Soul 2/ >- Body Soul 3/ >- Body Soul 4/ > > I execute > > mirror -I "Body*" This command should download

Re: [lftp] Insert a unicode value in prompt

2017-01-11 Thread Alexander V. Lukyanov
On Wed, Jan 11, 2017 at 05:07:56PM +0100, Juan Simón wrote: > I want to add a powerline symbol in lftp prompt.The codepoint is f233. > In terminal I can print it with > > > echo "\uf233" > > > ​Is there any way ​to do this in lftp prompt? You can just insert the utf-8 representation of the

Re: [lftp] 4.7.4 zlib buffer error?

2016-12-12 Thread Alexander V. Lukyanov
On Thu, Dec 08, 2016 at 08:33:50AM -0800, David R Bosso wrote: > (gdb) p > $2 = (z_stream *) 0x13e2010 > (gdb) p z.state > $3 = (internal_state *) 0x14febb0 Please also do "p *z.state" -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru

Re: [lftp] 4.7.4 zlib buffer error?

2016-12-09 Thread Alexander V. Lukyanov
On Thu, Dec 08, 2016 at 03:37:46PM -0800, David R Bosso wrote: > Hi, here’s a first run at valgrind. It’s been a while since I’ve used it, let > me know if you want it run with other options. > > http://pastebin.com/BHSFAQtX Thanks! I've fixed two unrelated problems based on the output, but

Re: [lftp] 4.7.4 zlib buffer error?

2016-12-07 Thread Alexander V. Lukyanov
On Tue, Dec 06, 2016 at 08:26:25AM -0800, David R Bosso wrote: > I’ve compiled lftp 4.7.4 on CentOS 7 and am running into an error when > running (reverse) mirror with a high parallel number. > Running with parallel <5 seems to be fine, but when I run with 10 or 20, I > get the following: >

Re: [lftp] Issues with 4.7.2 and mirror --Move

2016-07-29 Thread Alexander V. Lukyanov
On Fri, Jun 17, 2016 at 12:57:38AM -0500, Jim Cole wrote: > The behavior that I get is that the 'movies' directory is removed from the > remote server. > My understanding is that if the remote directory has a slash at the end > that it wouldn't remove it. This bug should be fixed in 4.7.3 --

Re: [lftp] lftp minor spelling correction

2016-07-11 Thread Alexander V. Lukyanov
On Sat, Jul 02, 2016 at 04:32:03PM +0200, Noël Köthe wrote: > Hello Alexander, > > just a pedantic spelling patch: Applied. Thanks! -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp

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] "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] http authentication on lftp 4.7.x versions

2016-05-06 Thread Alexander V. Lukyanov
On Wed, May 04, 2016 at 01:42:39PM +0100, Frederico Costa wrote: > Hi, > > Thanks for the reply. > > here is the debug output from 4.7.1, i used debug 3 command: Please try this patch. As a workaround you can also try to specify user name (and possibly password) in the URL: open

Re: [lftp] Run for a certain time

2016-05-05 Thread Alexander V. Lukyanov
On Wed, May 04, 2016 at 11:27:38AM -0600, pe...@secs.net.au wrote: > LFTP is working well and I run it nightly in some cron jobs. However I would > like the jobs to exit after say 6 hours and then when it fires up again the > next night to pick up from where it left off. Is that possible? Yes. As

Re: [lftp] [FEATURE REQUEST] Disk space preallocation

2016-04-29 Thread Alexander V. Lukyanov
On Mon, Apr 25, 2016 at 07:57:34PM +0200, Juan Simón wrote: > Hi, > It would be good to add an option for preallocate disk space of download > files. I think it's a good idea for pget. For plain 'get' it will prevent transfer resume (reget). -- Alexander.

Re: [lftp] download speed drops sharply

2016-04-29 Thread Alexander V. Lukyanov
On Fri, Apr 29, 2016 at 11:28:07AM +0200, Juan Simón wrote: > I'm testing with another server and same problem. > I've defined in config file: > ... > set mirror:no-empty-dirs yes; > set mirror:order "/*"; > set mirror:parallel-directories yes; > set mirror:parallel-transfer-count 5; > set

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

2016-04-29 Thread Alexander V. Lukyanov
On Fri, Apr 29, 2016 at 10:52:28AM +0200, Franck Eyraud wrote: > I suggest that your solution is in your other email, and is the one I used > for years : > > One dir for each server, or group of servers, with specific config > (.lftp/rc, .lftprc and even .netrc), and set HOME to this dir before >

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

Re: [lftp] EPSV or PASV?

2016-04-27 Thread Alexander V. Lukyanov
On Mon, Apr 25, 2016 at 10:24:05PM +0200, Juan Simón wrote: > Hi, > Server: Pure-FTPd server > Client: lftp 4.7.1 > I use IPv4, what is the best mode: PASV or EPSV? They are almost the same. The main difference is router support for NAT and also support for IPv6. -- Alexander.

Re: [lftp] pget:save-status = never?

2016-04-27 Thread Alexander V. Lukyanov
On Tue, Apr 26, 2016 at 01:30:51PM +0200, Juan Simón wrote: > ​​Hi, > If I set 'pget:save-status = never', will lftp be able resume downloads? No, pget needs the status file for resuming the transfer. -- Alexander. ___ lftp mailing list

Re: [lftp] HTTPS

2016-04-20 Thread Alexander V. Lukyanov
ne via https://letsencrypt.org/ ? It's really easy to get setup, it's > free, and it was setup (and is run) by reputable people. I've installed letsencrypt certificate, it was very easy to do. I did not know about letsencrypt before, it's cool. -- Alexander. > On Fri, Apr 15, 2016 at 3:

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,

[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] 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

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] 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] 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] 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] 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] 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] 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] 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] [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] 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] [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] Handling for small files

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

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

[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] 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

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

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

Re: [lftp] Compressing data at destination machine

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

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

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

Re: [lftp] Compressing data at destination machine

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

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

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

Re: [lftp] 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] 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] 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] 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-devel] [lftp] Bug in lftp mirror when using xfer:use-temp-file option

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

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

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

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

[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] 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.

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

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

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 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-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] 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] 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] 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] 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] 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] 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

[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] 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

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

[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] 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

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

[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] 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

  1   2   3   4   5   6   7   8   9   10   >