bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] FTP tests fail on MS-Windows


From: Eli Zaretskii
Subject: [Bug-wget] FTP tests fail on MS-Windows
Date: Fri, 19 Dec 2014 18:18:31 +0200

I've built wget 1.16.1 on GNU/Linux as well, and compared the test
results to try and figure out why some tests fail on Windows.

When I run Test-ftp-bad-list.px on GNU/Linux, I see this output:

     Running test Test-ftp-bad-list
     Calling /srv/data/home/e/eliz/wget-1.16.1/tests/../src/wget -nH -Nc -r 
ftp://localhost:40221/
     --2014-12-19 11:13:27--  ftp://localhost:40221/
                => ‘.listing’
     Resolving localhost (localhost)... ::1, 127.0.0.1
     Connecting to localhost (localhost)|::1|:40221... failed: Connection 
refused.
     Connecting to localhost (localhost)|127.0.0.1|:40221... connected.
     Logging in as anonymous ... Logged in!
     ==> SYST ... done.    ==> PWD ... done.
     ==> TYPE I ... done.  ==> CWD not needed.
     ==> PASV ... done.    ==> LIST ... _LIST_command - dir is: /
     done.

     .listing                [ <=>                  ]      92  --.-KB/s   in 0s

     2014-12-19 11:13:27 (3.65 MB/s) - ‘.listing’ saved [92]

     Removed ‘.listing’.
     The sizes do not match (local 12) -- retrieving.

     --2014-12-19 11:13:27--  ftp://localhost:40221/afile.txt
                => ‘afile.txt’
     ==> CWD not required.
     ==> SIZE afile.txt ... 12
     File has already been retrieved.
     2014-12-19 11:13:27 (0.00 B/s) - ‘afile.txt’ saved [12]

But on Windows the same test yields this:

     Running test Test-ftp-bad-list
     Calling /d/gnu/wget-1.16.1/tests/../src/wget -nH -Nc -r 
ftp://localhost:3244/
     --2014-12-19 18:14:54--  ftp://localhost:3244/
                => '.listing'
     Resolving localhost (localhost)... 127.0.0.1
     Connecting to localhost (localhost)|127.0.0.1|:3244... connected.
     Logging in as anonymous ... Logged in!
     ==> SYST ... done.    ==> PWD ... done.
     ==> TYPE I ... done.  ==> CWD not needed.
     ==> PASV ... done.    ==> LIST ... _LIST_command - dir is: /
     done.

     .listing                [ <=>                  ]      88  --.-KB/s   in 0s

     2014-12-19 18:14:54 (818 KB/s) - '.listing' saved [88]

     Removed '.listing'.
     --2014-12-19 18:14:54--  ftp://localhost:3244/
                => 'index.html'
     ==> CWD not required.
     ==> SIZE  ... done.

     ==> PASV ... done.    ==> RETR  ...
     No such file ''.

Note the 'index.html' thing -- that's where the difference between the
two systems begins.  Looks like the server behaves differently,
doesn't it?

Does anyone have a clue what is going on here?  Any bells ring for
anyone?

TIA

P.S.  Please CC me on any replies, as I'm not subscribed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]