Re: [lftp] lftp-4.4.4 ipv6 question

2013-04-23 Thread Alexander Lukyanov
Try "set dns:order inet".

-- 
   Alexander.



2013/4/24 Justin Piszcz 

> Aside from changing lftp to disable IPv6 support, is there a way to
> disable IPv6 for transfers or to prefer IPv4 for the initial connection?
>  By default if IPv6 module/option is loaded in the Linux kernel it tries
> IPv6 first, can this be made an option to use one first over the other
> and/or use IPv4 or IPv6 explicitly?
>
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] lftp-4.4.4 ipv6 question

2013-04-23 Thread Justin Piszcz
Hello,

Aside from changing lftp to disable IPv6 support, is there a way to disable
IPv6 for transfers or to prefer IPv4 for the initial connection?  By
default if IPv6 module/option is loaded in the Linux kernel it tries IPv6
first, can this be made an option to use one first over the other and/or
use IPv4 or IPv6 explicitly?


Example, when I tried to download this Linux ISO, it stalls for some time
before it re-connects and tries the IPv4 address.

lftp :~> get
http://ftp.heanet.ie/pub/scientific/livecd/64/x86_64/SL-64-x86_64-2013-04-17-LiveCD.iso
 Connecting to ftp.heanet.ie (2001:770:18:aa40::c101:c140) port 80
`...86_64-2013-04-17-LiveCD.iso' at 0 [Connecting...]
 Socket error (Connection timed out) - reconnecting
 Closing HTTP connection
 Connecting to ftp.heanet.ie (193.1.193.64) port 80
 Sending request...
(then it succeeds)

$ host ftp.heanet.ie
ftp.heanet.ie has address 193.1.193.64
ftp.heanet.ie has IPv6 address 2001:770:18:aa40::c101:c140

Justin.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


Re: [lftp] Trying to set RECFM and LRECL when sending files to a mainframe

2013-04-23 Thread Alexander V. Lukyanov
On Tue, Apr 23, 2013 at 03:34:43PM -0400, doug.free...@gm.com wrote:
> Does anyone know the correct syntax for setting the LRECL and RECFM for a 
> file being sent to the mainframe from Linux via lftp?
> I've tried a number of different combinations and cannot get it to work.
> It doesn't complain about it but it just gets the default of LRECL=80 on 
> the mainframe.
> I don't do a lot of work on the mainframe so I'm hoping someone can help 
> me.

I don't know what LRECL and RECFM are, but I think setting them can be
possible by using "site" command. Try "site help" for a start.

-- 
   Alexander.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp


[lftp] Trying to set RECFM and LRECL when sending files to a mainframe

2013-04-23 Thread doug . freeman
Does anyone know the correct syntax for setting the LRECL and RECFM for a 
file being sent to the mainframe from Linux via lftp?
I've tried a number of different combinations and cannot get it to work.
It doesn't complain about it but it just gets the default of LRECL=80 on 
the mainframe.
I don't do a lot of work on the mainframe so I'm hoping someone can help 
me.

Thanks in advance.

Doug Freeman

Nothing in this message is intended to constitute an electronic signature 
unless a specific statement to the contrary is included in this message. 

Confidentiality Note: This message is intended only for the person or entity to 
which it is addressed. It may contain confidential and/or privileged material.  
Any review, transmission, dissemination or other use, or taking of any action 
in reliance upon this message by persons or entities other than the intended 
recipient is prohibited and may be unlawful. If you received this message in 
error, please contact the sender and delete it from your computer.
___
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp