Thanks Alexander. I've upgraded to 4.5.2 now. Will the ftp:site option be available in 4.5.3?
BR Mattias Bergvall On Wed, Jun 11, 2014 at 11:37 AM, Alexander V. Lukyanov <l...@netis.ru> wrote: > 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). > > The server then issues a 125 message and terminates the connection. > (Which > > I think is incorrect behavior, but that's not the point). > > > > What happens next is that lftp reconnects again (I have net:max-retries = > > 1. I don’t want it to retry!) and does NOT issue the SITE commands that > > The problem with retries should be fixed in 4.5.2. > > You can also try this patch for 4.5.2 which adds "ftp:site" setting for > tuning the connection after login. For your case it would be > > set ftp:site "SBD=(IBM-278,ISO8859-1) LRECL=240 RECFM=FB" > > (note the double spaces). > > -- > Alexander. >
_______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp