problem mit wget

Post Reply
Message
Author
2b2cu
Posts: 2
Joined: 20. Oct 2004 13:20

problem mit wget

#1 Post by 2b2cu »

Hallo erst mal !

ich möchte mit wget alle dateien von wget ftp://ftp.nai.com/commonupdater/ ziehen.

wget ftp://ftp.nai.com/commonupdater/*.* funktioniert nicht.

wie lautet die richtige Syntax ?

MfG

User avatar
gharika
Posts: 41
Joined: 12. Jan 2004 17:47

Re: problem mit wget

#2 Post by gharika »

2b2cu wrote:Hallo erst mal !

ich möchte mit wget alle dateien von wget ftp://ftp.nai.com/commonupdater/ ziehen.

wget ftp://ftp.nai.com/commonupdater/*.* funktioniert nicht.

wie lautet die richtige Syntax ?

MfG
probier es mit

Code: Select all

wget -r -l1 ftp://ftp.nai.com/commonupdater/
Tue 10 Jahre lang gutes und niemand wird es bemerken, für eine Stunde böse sein und Ruhm ist dir gewiss.
(Alte Samurai Weisheit)

2b2cu
Posts: 2
Joined: 20. Oct 2004 13:20

#3 Post by 2b2cu »

wget -r -l1 ftp://ftp.nai.com/commonupdater/

sorry, so läd er nur die Verzeichnisstruktur :?:

User avatar
jochen
prolinux-forum-admin
Posts: 699
Joined: 14. Jan 2000 15:37
Location: Jülich
Contact:

#4 Post by jochen »

Hi,

der FTP-Server scheint nur passive FTP zu akzeptieren. wget verwendet active FTP per Default. Setze einfach die Option "--passive-ftp":

Code: Select all

wget --passive-ftp ftp://ftp.nai.com/commonupdater/*.*
So funktioniert es bei mir.

Jochen
Die grösste Lüge der EDV? "Mal eben..."

Post Reply