When I try download a few files into a directory where a .listing files
already exists wget fails to get any of the files and just produces a
file with the wildcard in its name.

#wget --version
GNU Wget 1.10.2

Copyright (C) 2005 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic <[EMAIL PROTECTED]>.

#ls -la
total 8
drwxr-xr-x    2 root     root         4096 Jul 27 09:38 .
drwxr-xr-x    7 root     root         4096 Jul 27 09:17 ..
-rw-r--r--    1 root     root            0 Jul 27 09:34 .listing
#wget --no-passive-ftp  --ftp-user="xx" --ftp-password="xx"
ftp://10.10.10.10/SEDOL/*.ZIP 
--09:38:38--  ftp://10.10.10.10/SEDOL/*.ZIP 
           => `.listing'
Connecting to 10.10.10.10:21... connected.
Logging in as xx ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /SEDOL/ ... done.
==> PORT ... done.    ==> LIST ... done.
.listing has sprung into existence.
Retrying.

--09:38:38--  ftp://10.10.10.10/SEDOL/*.ZIP 
  (try: 2) => `*.ZIP'
Connecting to 10.10.10.10:21... connected.
Logging in as xx ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD not required.
==> PORT ... done.    ==> LIST ... done.

    [ <=>
] 461           --.--K/s

09:38:38 (94.70 KB/s) - `*.ZIP' saved [461]

unlink: Is a directory
No matches on pattern `*.ZIP'.
# ls -la
total 12
drwxr-xr-x    2 root     root         4096 Jul 27 09:38 .
drwxr-xr-x    7 root     root         4096 Jul 27 09:17 ..
-rw-r--r--    1 root     root          461 Jul 27 09:38 *.ZIP
-rw-r--r--    1 root     root            0 Jul 27 09:34 .listing


I hope this explains the problem, for any other information just ask


Cheers
Matt M


This message is confidential and is intended only for the named individual. If 
you are not the intended recipient of this message, please notify the sender 
immediately and delete this message from your system. The sender does not 
accept liability for any errors or omissions in the content of this message 
arising from e-mail transmission which cannot be guaranteed to be secure or 
error free. The contents of this message do not constitute a commitment by Best 
Execution Software Ltd. The unauthorised use, disclosure, distribution and/or 
copying of this e-mail or any information it contains is prohibited
All messages are certified to have been scanned for viruses, using McAffee 
Active VirusScan.

Best Execution Software Ltd
2nd Floor
Dowding House
Coach and Horses Passage
Royal Tunbridge Wells
Kent
TN2 5NP

01892 547 666

Reply via email to