#395884 Messes up target directory structure

Package:
wput
Source:
wput
Description:
tiny wget-like ftp-client for uploading files
Submitter:
Date:
2011-09-20 08:00:16 UTC
Severity:
important
#395884#5
Date:
2006-10-28 11:57:59 UTC
From:
To:
  Hello !

  I just started to use wput; it looks great, but I found what seems to be a serious bug: I try to
upload to some server:
--13:51:40-- `output/index.html'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/index.html
-- Skipping file: output/index.html
--13:51:40-- `output/images/webgen-generated-by.png'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/images/webgen-generated-by.png
-- Skipping file: output/images/webgen-generated-by.png
--13:51:40-- `output/who.html'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/who.html
-- Skipping file: output/who.html
--13:51:40-- `output/howtos/index.html'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/howtos/index.html
-- Skipping file: output/howtos/index.html
--13:51:40-- `output/projects.html'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/projects.html
-- Skipping file: output/projects.html
--13:51:41-- `output/scripts/color_chooser.html'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/scripts/color_chooser.html
-- Skipping file: output/scripts/color_chooser.html
--13:51:41-- `output/scripts/index.html'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/scripts/index.html
-- Skipping file: output/scripts/index.html
--13:51:41-- `output/scripts/color_chooser.rb'
    => ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/scripts/color_chooser.rb
-- Skipping file: output/scripts/color_chooser.rb

[I paste the second try, since it is more compact, that won't change the problem]

  I think that wput forgets to cd back to the root directory:

output/projects.html
doesn't end up in
ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/projects.html
but in
ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/howtos/projects.html

  Similarly, output/who.html ends up in
ftp://vincent.fourmond@neuf.fr:xxxxx@212.30.113.198:21/images/who.html

  I tagged the bug important since it renders the package completely unusable for me.
I'll try to give it a look if I can.

  Regards,

	Vincent Fourmond

#395884#16
Date:
2010-01-01 17:54:01 UTC
From:
To:
tags 400610 - fixed-upstream
tags 522127 - fixed-upstream
tags 521846 - fixed-upstream
tags 395884 - fixed-upstream
thanks

Sourceforge's automatic bot in wput project closes reported bugs in 14
days. Not fixed upstream.

#395884#23
Date:
2011-09-19 21:08:17 UTC
From:
To:
forwarded 395884 Hagen Fritsch <rumpeltux@users.sf.net>
thanks

Hi Hagen,

Would you take a look at this Debian bug report[*] and see if it can be fixed
in next relase:

    Messes up target directory structure
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395884

Thanks,
Jari

[*] Your Sourceforforge project settings closes open bugs, so they cannot
be forwarded there.

#395884#30
Date:
2011-09-20 07:38:28 UTC
From:
To:
2011-09-20 00:26 Hagen Fritsch (forwarded developer's reponse):
| >     Messes up target directory structure
| >     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395884
|
| Can't do anything with debug output. I guess there was a similar problem
| earlier, but that was due to a bug in the FTP server.