Having a bit of trouble with wget loading from ftp sites, have set it up to load urls from a text file.
In a shell script I have ... #!/bin/sh # Script to read list of URLs form /mnt/archive/wget/sources.list # download the files and leave them in /usr/archive/wget/downloads cd /mnt/archive/wget/downloads wget -t inf -T 600 -S -c --progress=bar -i '/mnt/archive/wget/url.list' and in /mnt/archive/wget/url.list I have ... http://www.mikebonnell.com/pub_html/0252/pub0252.html ftp://debian.org/debian/dists/potato/main/binary-i386/base/kernel-image-2.0.38_2.0.38-3.deb The first part works great, I get my file from the http, happy bunney ..... However the ftp load appears to log on then just hangs for a couple of mins then issues an error message, re-tries,re-tries etc etc etc. I have enabled debug to get as much info as possible. test@debian:~$ wget.sh --08:16:20-- http://www.mikebonnell.com/pub_html/0252/pub0252.html => `pub0252.html' Resolving www.mikebonnell.com... done. Connecting to www.mikebonnell.com[216.105.35.35]:80... connected. HTTP request sent, awaiting response... 1 HTTP/1.0 200 OK 2 Date: Sun, 09 Feb 2003 08:12:23 GMT 3 Server: Apache/1.3.27 (Unix) mod_perl/1.27 mod_auth_pam/1.1.1 mod_ssl/2.8.12 OpenSSL/0.9.6h 4 Last-Modified: Sun, 15 Dec 2002 05:29:21 GMT 5 ETag: "198819-2653-3dfc1331" 6 Accept-Ranges: bytes 7 Content-Length: 9811 8 Content-Type: text/html 9 Age: 578 10 Connection: keep-alive 11 Via: HTTP/1.1 ntl-site (Traffic-Server/5.1.3-50227-50963-51463 [cHs f ]) 100%[==================================================================>] 9,811 11.87K/s ETA 00:00 08:16:22 (11.87 KB/s) - `pub0252.html' saved [9811/9811] --08:16:22-- ftp://debian.org/debian/dists/potato/main/binary-i386/base/kernel-image-2.0.38_2.0.38-3.deb => `kernel-image-2.0.38_2.0.38-3.deb' Resolving debian.org... done. Connecting to debian.org[192.25.206.10]:21... connected. Logging in as anonymous ... 220 gluck.debian.org FTP server (vsftpd) --> USER anonymous 331 Please specify the password. --> PASS Turtle Power! 230 Login successful. Have fun. --> SYST 215 UNIX Type: L8 --> PWD 257 "/" --> TYPE I 200 Binary it is, then. --> CWD /debian/dists/potato/main/binary-i386/base 250 Directory successfully changed. --> PORT 62,253,48,102,5,26 200 PORT command successful. Consider using PASV. --> RETR kernel-image-2.0.38_2.0.38-3.deb 425 Failed to establish connection. Error in server response, closing control connection. Retrying. This is a bit of a problem since I wanted to use wget to download open office etc all from ftp sites ..... Any ideas ? Dave, learning fast but a way to go ! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]