Niamh Holding | 1 Sep 19:00 2006
Picon

Re[2]: Stopping lftp retrying a failed transfer.


Hello Thomas,

Saturday, August 26, 2006, 10:09:34 AM, you wrote:

TG> set net:max-retries 1;

Seems to have no effect on the existing transfer that is being
retried.

--

-- 
Best regards,
 Niamh                            mailto:niamh <at> fullbore.co.uk

Thomas Glanzmann | 1 Sep 19:47 2006
Picon
Picon

Re: Stopping lftp retrying a failed transfer.

Hello,

> Seems to have no effect on the existing transfer that is being
> retried.

of course it doesn't. But why not put that simply in your configruation
so that it doesn't happen in the future. You can't change the past.

        Thomas

Niamh Holding | 1 Sep 19:57 2006
Picon

Re[2]: Stopping lftp retrying a failed transfer.


Hello Thomas,

Friday, September 1, 2006, 6:47:46 PM, you wrote:

TG> of course it doesn't. But why not put that simply in your configruation
TG> so that it doesn't happen in the future. You can't change the past.

Well I have which means it can't happen again, but in the meantime
how to I stop this rogue transfer from being tried 300 times a day?

--

-- 
Best regards,
 Niamh                            mailto:niamh <at> fullbore.co.uk

Thomas Glanzmann | 1 Sep 20:19 2006
Picon
Picon

Re: Stopping lftp retrying a failed transfer.

Hello,

> Well I have which means it can't happen again, but in the meantime
> how to I stop this rogue transfer from being tried 300 times a day?

kill the process?

pkill -9 lftp

        Thomas

Alexander V. Lukyanov | 4 Sep 08:50 2006
Picon

Re: Multi connection failed

On Mon, Sep 04, 2006 at 11:31:16AM +0800, 刘鑫罡 wrote:
> command: pget -n 20 myfile
>  
> but i found it seem only one connect to download the file. is it a bug?

Probably the server does not support REST command which is used to get
parts of the file and lftp falls back to plain continuous get. To find out,
turn on debug and see the server reply to REST command.

--

-- 
   Alexander.

Yan Seiner | 6 Sep 15:55 2006

lftp failing to authenticate?

I am using lftp to upload files to my webserver using webdav 
authentication.  The webserver is set up to deny directory listing of 
the target directory.  lftp 3.5.4 seems to be failing to authenticate.  
This didn't happen with lftp 3.0.13. 

Could someone please decipher the following for me and let me know how 
to fix it?

Thanks,

--Yan

poseidon:/home/nfs/yan# lftp -d -e "put -O/blog/Travels/images x.jpg ; 
exit" -u user,pass http://www.seiner.com/blog/Travels/images
---- Connecting to www.seiner.com (192.168.128.2) port 80
---- Sending request...
---> HEAD /blog/Travels/images HTTP/1.1
---> Host: www.seiner.com
---> User-Agent: lftp/3.5.4
---> Accept: */*
---> Authorization: Basic d2ViZGF2OlN1bk1vb24=
---> Connection: keep-alive
--->
<--- HTTP/1.1 301 Moved Permanently
<--- Date: Wed, 06 Sep 2006 13:45:15 GMT
<--- Server: Apache/2.0.51 (Fedora)
<--- Location: http://www.seiner.com/blog/Travels/images/
<--- Keep-Alive: timeout=15, max=100
<--- Connection: Keep-Alive
<--- Content-Type: text/html; charset=iso-8859-1
(Continue reading)

Alexander V. Lukyanov | 7 Sep 06:23 2006
Picon

Re: lftp failing to authenticate?

On Wed, Sep 06, 2006 at 06:55:14AM -0700, Yan Seiner wrote:
> I am using lftp to upload files to my webserver using webdav 
> authentication.  The webserver is set up to deny directory listing of 
> the target directory.  lftp 3.5.4 seems to be failing to authenticate.  
> This didn't happen with lftp 3.0.13. 

Either put a slash after /blog/Travels/images, or use http:authorization
setting.

That is:

lftp -d -e "put x.jpg; exit" -u user,pass http://www.seiner.com/blog/Travels/images/

or 

lftp -d -e "set http:authorization user:pass; open http://www.seiner.com/blog/Travels/images; put
x.jpg; exit"

> <--- HTTP/1.1 301 Moved Permanently
> <--- Date: Wed, 06 Sep 2006 13:45:15 GMT
> <--- Server: Apache/2.0.51 (Fedora)
> <--- Location: http://www.seiner.com/blog/Travels/images/

The problem is that lftp currently does not know after redirection that
it has to use login and password. It is a limitation to be fixed.
For now, avoid redirect with trailing slash or tell lftp explicitly to use
authorization all the time.

--

-- 
   Alexander..
(Continue reading)

chiappa | 9 Sep 21:40 2006
Picon

language

How do i change the language to english?
__
Saunalahti Xtra - Uusi GSM-vuokrapuhelin ja edistykselliset Xtra-palvelut käyttöösi alk. 4,95
e/kk! http://saunalahti.fi/xtra/

Arkady.Sherman | 10 Sep 18:17 2006
Picon

a mirror trouble

Hello, Alexander.
I've got a problem with the mirror command when trying to initialize 
transfer of a directory to an existing one, please have a look at the 
following log:

mirror -cR release /

---> CLNT lftp/3.5.4
<--- 200 Noted.
---> OPTS UTF8 ON
<--- 200 UTF8 OPTS ON
---> PBSZ 0
<--- 200 PBSZ=0
---> CWD /
<--- 250 CWD command successful. "/" is current directory.
---> TYPE I
<--- 200 Type set to I.
---> MKD release
<--- 550 "release": file or directory already exists.
---> MKD release/
<--- 550 "release/": file or directory already exists.
---- Persist and retry
---> QUIT
<--- 221 Goodbye.

and it goes on in the loop until retries limit.
I guess there is existing directory checking needed before trying to 
create one.
	Thank you in advance, Arkady

(Continue reading)

WooDy | 17 Sep 00:21 2006
Picon

Segmentation fault when trying to do ls on forbidden dir on http server

Hi there,

i found that lftp segfaults when i try to do following:

woody <at> lacey:~$ lftp http://x86.sk/~woody/example/
cd ok, cwd=~woody/example
lftp x86.sk:~woody/example> ls
drwxr-xr-x  --  ..
drwxr-xr-x            -  2006-09-17 00:16  a
drwxr-xr-x            -  2006-09-17 00:16  b
-rw-r--r--            0  2006-09-17 00:16  bla
lftp x86.sk:~woody/example> ls ..
Segmentation fault

woody <at> lacey:~$ lftp --version
LFTP | Version 3.5.4 | Copyright (c) 1996-2006 Alexander V. Lukyanov
...
Libraries used: Readline 5.1, Expat 1.95.8, OpenSSL 0.9.8b 04 May 2006

regards,
WooDy
.t..


Gmane