Menu

#70 Messes up target directory structure

closed
nobody
None
5
2009-12-30
2009-12-15
Jari Aalto
No

Cf. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=395884
Date: Sat, 28 Oct 2006 13:57:59 +0200

Package: wput
Version: 0.6-1
Severity: important

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

Discussion

  • Rumpeltux

    Rumpeltux - 2009-12-15

    Please supply debug-output.

     
  • Rumpeltux

    Rumpeltux - 2009-12-15
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.