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 option name (norc) is q
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
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 ftp:sy
On Fri, Apr 29, 2016 at 10:00:02AM +0200, Juan Simón wrote:
> Is there possible to use variables in rc file (similar to BASH, ZSH, etc.)?
> For example, to define the HOME folder.
Unfortunately, no. Set HOME before starting lftp.
--
Alexander.
___
lf
ok, but it's less clean that specify a config file for every FTP
server, by other side, I have several alias with same name but
different behaviour in every FTP server, can I define these alias in
same config file with same name with those closures?
> That's what closures were made for. For exampl
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, wit
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 b
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
> l
On Fri, Apr 29, 2016 at 10:55:35AM +0200, Juan Simón wrote:
> 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.
"-e 'source rc.config'" should help. But I agree that --rc option is nice
and would
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 -
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 mirror:s
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.
_
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
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 14:
14 matches
Mail list logo