Re: possible bug in lftp's mirror command

2009-05-21 Thread Alexander V. Lukyanov
On Wed, May 20, 2009 at 11:32:24PM +0200, Guglielmo Bondioni wrote: Hello and kudos for LFTP. I've observed an odd behaviour that looks like a possible bug to me. Running lftp -c mirror http://somehost/ , lftp correctly retrieves all the files, but if it finds a directory whose name

Re: possible bug in lftp's mirror command

2009-05-21 Thread Guglielmo Bondioni
On Thu, May 21, 2009 at 8:45 AM, Alexander V. Lukyanov l...@netis.ru wrote: I cannot reproduce it with apache. I've just tried with apache2 and cannot reproduce it either. So the issue might actually be in webfsd and thttpd... Please send me debug output and output of `cat ' from the directory

Re: possible bug in lftp's mirror command

2009-05-21 Thread Justin Piszcz
On Thu, 21 May 2009, Guglielmo Bondioni wrote: On Thu, May 21, 2009 at 8:45 AM, Alexander V. Lukyanov l...@netis.ru wrote: I cannot reproduce it with apache. I've just tried with apache2 and cannot reproduce it either. So the issue might actually be in webfsd and thttpd... Please send me

Re: possible bug in lftp's mirror command

2009-05-21 Thread Guglielmo Bondioni
On Thu, May 21, 2009 at 2:47 PM, Justin Piszcz jpis...@lucidpixels.com wrote: Try ls -Q to get the name of the directory with the space foo bar and then provide the output Alex needs. /var/www$ ls -Q foo bar /var/www$ find -ls 38093274 drwxr-xr-x 3 root root 4096 May 21 13:58 .

Re: possible bug in lftp's mirror command

2009-05-21 Thread Alexander V. Lukyanov
On Thu, May 21, 2009 at 02:12:15PM +0200, Guglielmo Bondioni wrote: /var/www$ cat cat: : No such file or directory I mean, do the command in lftp. Do this: lftp open http://server/foo%20bar/ lftp cat -- Alexander..

Re: possible bug in lftp's mirror command

2009-05-21 Thread Guglielmo Bondioni
On Thu, May 21, 2009 at 4:05 PM, Guglielmo Bondioni guglielmo.bondi...@gmail.com wrote: lftp :~ open http://localhost:12345/ [...] 476 bytes transferred lftp localhost:/ And entering the foo bar directory: $ lftp lftp :~ open http://localhost:12345/foo%20bar/ cd ok, cwd=/foo bar lftp