Re: [lftp] download speed drops sharply

2016-04-29 Thread Juan Simón
I think the problem isn't in lftp. I see messages like this when I execute "jobs -v" to see active transfers: "[500 I won't open a connection to 192.168.1.2 (only to )]", ¿? I didn't see this message before. In server side there isn't any message like this in log. Any idea? Regards. 2016-04-29

[lftp] [FEATURE REQUEST] Disk space preallocation

2016-04-29 Thread Juan Simón
And for mirror too, no? mirror can use pget. > I think it's a good idea for pget. For plain 'get' it will prevent transfer > resume (reget). -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp

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] download speed drops sharply

2016-04-29 Thread Juan Simón
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 mirror:set-permissions no; set mirror:use-pget-n 3; But when I execute 'jobs

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 Franck Eyraud
Hi Juan, 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 launching lftp. HOME=/path/to/server1 lftp Or some easy

[lftp] [Enhancement] Option to specify config file

2016-04-29 Thread Juan Simón
In the similar way that there is a "--norc" option, it would be easy add one option "--rc rc.config" that it allows specify the config file easily. > Hi Juan, 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,

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

2016-04-29 Thread Alexander V. Lukyanov
On Fri, Apr 29, 2016 at 09:37:27AM +0200, Juan Simón wrote: > Actually I connect to several FTP servers and I would like define > configuration rules different for each one. How can I do this? That's what closures were made for. For example: set ftp:sync-mode/ftp.onesite.com yes set

[lftp] Variables in rc file?

2016-04-29 Thread Juan Simón
Is there possible to use variables in rc file (similar to BASH, ZSH, etc.)? For example, to define the HOME folder. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp

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

2016-04-29 Thread Juan Simón
Actually I connect to several FTP servers and I would like define configuration rules different for each one. How can I do this? 2015-03-18 11:11 GMT+01:00 Juan Simón : > Ok, that option is just what I wanted. I don't think this option should > skip /etc/lftp.conf too. The