Justin Piszcz | 1 Jun 2006 10:03

RE: lftp Exit codes - Urgent!

Ah, thanks for the follow up!

On Thu, 1 Jun 2006, Valkanas, Nikos, VF-GR Consultant wrote:

> Dear Justin,
>
> Thanks for the input. Issue was localized only to interactive bash and only to the particular user. It was
an environment problem.
>
> The particular user uses a fancy dynamic PS1 prompt (bash), which changes the exit code according to the
last action it takes.
>
> Best regards,
>
> Nikos Balkanas
> Billing and Provisioning Services/IT
> Tel.+302106703982
>
> Vodafone Panafon S.A.
> Registered Office: 1-3 Tzavella Str., 15231, Halandri, Greece
> Registered in Greece No 26089/01AT/B/92/276/04
>
> -----Original Message-----
> From: Valkanas, Nikos, VF-GR Consultant
> Sent: Wednesday, May 31, 2006 1:42 PM
> To: 'Justin Piszcz'
> Cc: lftp <at> uniyar.ac.ru
> Subject: RE: lftp Exit codes - Urgent!
>
> Dear Justin,
(Continue reading)

Picon

RE: lftp Exit codes - Urgent!

Dear Justin,

Thanks for the input. Issue was localized only to interactive bash and only to the particular user. It was an
environment problem. 

The particular user uses a fancy dynamic PS1 prompt (bash), which changes the exit code according to the
last action it takes.

Best regards, 

Nikos Balkanas
Billing and Provisioning Services/IT
Tel.+302106703982

Vodafone Panafon S.A.
Registered Office: 1-3 Tzavella Str., 15231, Halandri, Greece
Registered in Greece No 26089/01AT/B/92/276/04

-----Original Message-----
From: Valkanas, Nikos, VF-GR Consultant 
Sent: Wednesday, May 31, 2006 1:42 PM
To: 'Justin Piszcz'
Cc: lftp <at> uniyar.ac.ru
Subject: RE: lftp Exit codes - Urgent!

Dear Justin,

Looks like you hit the nail on the head. Seems to be a problem with the shell. I could swear that yesterday it
worked, but today it seems that all exit codes are gone:

(Continue reading)

Alexander V. Lukyanov | 2 Jun 2006 14:41
Picon
Gravatar

Re: How to use / in password for lftp

On Fri, Jun 02, 2006 at 11:55:10AM +0200, Luc SPONGA wrote:
> I am using lftp to transfert files. My problem is about the password 
> management. I have a "/" in the password. How to manage it with the 
> configuration file.
> 
> I have tried:
> 
> set ftp:proxy http://userName:passWord <at> Name:8080
> 
> but as there is a "/" in the password, the followin open command gives:
> 
> open: userName: Unknown host

Use %2F instead of / in password, where 2F is the hex code for slash character.

--

-- 
   Alexander..

Alexander V. Lukyanov | 2 Jun 2006 15:12
Picon
Gravatar

Re: How to use / in password for lftp

On Fri, Jun 02, 2006 at 02:54:13PM +0200, Luc SPONGA wrote:
> But if somebody wants to use %2F as a string not as a /, how lftp is 
> goint to recogize it ?

To specify % as literal in URL, use %25

--

-- 
   Alexander.                      | http://www.yars.free.net/~lav/   

Ariel Manzur | 9 Jun 2006 20:36
Picon

http:use-propfind ignored?

Hi..

I'm using 3.4.7 on debian. I'm trying to use 'mirror' to dowload a
directory, but I can't use PROPFIND because the directory is a symlink
on the server (apache ignores these when doing propfind aparently). I
tried setting 'http:use-propfind' to 'no', 0 and 'false', it looks
like it's being ignored.. I get this output:

--
lftp :~> open http://incoming.debian.org
cd ok, cwd=/
lftp incoming.debian.org:/> debug
lftp incoming.debian.org:/> set http:use-propfind no
lftp incoming.debian.org:/> mirror .
---- Connecting to incoming.debian.org (140.211.166.43) port 80
---- Sending request...
---> PROPFIND / HTTP/1.1
---> Host: incoming.debian.org
---> User-Agent: lftp/3.4.7
---> Accept: */*
---> Depth: 0
---> Content-Type: text/xml
---> Content-Length: 68
---> Connection: keep-alive
--->
---> <?xml version="1.0" ?><propfind xmlns="DAV:"><allprop/></propfind>
<--- HTTP/1.1 404 Not Found
<--- Date: Fri, 09 Jun 2006 18:27:30 GMT
<--- Server: Apache/1.3.33 (Debian GNU/Linux)
<--- Keep-Alive: timeout=15, max=99
(Continue reading)

Alexander V. Lukyanov | 10 Jun 2006 16:04
Picon
Gravatar

Re: http:use-propfind ignored?

On Fri, Jun 09, 2006 at 03:36:54PM -0300, Ariel Manzur wrote:
> I'm using 3.4.7 on debian. I'm trying to use 'mirror' to dowload a
> directory, but I can't use PROPFIND because the directory is a symlink
> on the server (apache ignores these when doing propfind aparently). I
> tried setting 'http:use-propfind' to 'no', 0 and 'false', it looks
> like it's being ignored.. I get this output:

Please try this patch.

--
   Alexander.
Index: Http.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/Http.cc,v
retrieving revision 1.211
diff -u -p -r1.211 Http.cc
--- Http.cc	26 May 2006 05:58:02 -0000	1.211
+++ Http.cc	10 Jun 2006 14:00:07 -0000
 <at>  <at>  -1957,6 +1957,7  <at>  <at>  void Http::ResetLocationData()
    super::ResetLocationData();
    Reconfig();
    state=DISCONNECTED;
+   use_propfind_now=QueryBool("use-propfind",hostname);
 }

 DirList *Http::MakeDirList(ArgV *args)
Alexander V. Lukyanov | 12 Jun 2006 22:17
Picon
Gravatar

Re: LFTP: SFTP protocol password prompt

> Would it be possible to modify the password prompt displayed when
> connecting to reflect whether the password is for a local key or the
> remote host?

It is not easy, as lftp asks for password _before_ it launches ssh.

--

-- 
   Alexander.

Alexander V. Lukyanov | 13 Jun 2006 13:18
Picon
Gravatar

Re: lftp over http... Operation not supported: 400 Bad Request (GET) problem

On Tue, Jun 13, 2006 at 01:43:40PM +0300, Tommi Raulahti wrote:
> In many versions of lftp (currently running latest one available:
> 3.4.7), lftp over http works pretty poorly... aka. list of files works
> nicely but 'get' causes same error everytime:
>
> Operation not supported: 400 Bad Request (GET)

I cannot reproduce this error. Please run tcpdump to see what request lftp sends
when the error happens.

--
   Alexander.

Petr Ostadal | 13 Jun 2006 17:22
Picon

Re: LFTP: SFTP protocol password prompt

On Tue, 13 Jun 2006, Alexander V. Lukyanov wrote:

> > Would it be possible to modify the password prompt displayed when
> > connecting to reflect whether the password is for a local key or the
> > remote host?
> 
> It is not easy, as lftp asks for password _before_ it launches ssh.

Hi Alexander,
the same problem is with ftp server which doesn't require passwd for 
authentization, but lftp allways ask for it ;(. 

It would be nice if this behaviour changed.

	Petr

Arkady.Sherman | 15 Jun 2006 12:28
Picon

additional repeat option

Hello, Alexander.
Is that possible to add an additional option to the repeat command that 
will limit a number of repetitions.
	Thank you in advance, Arkady.


Gmane