I have a couple of problems
with the 3.5 prepare:
1) wget
doesn't output to the correct location unless the parameters are switched
(same as last time, but easier to fix)
Change last
line
from: wget "$url" -O "$file"
to: wget -O "$file"
"$url"
2) I get the
following for one of the downloads:
--11:39:28--
ftp://ftp.attglobal.net/pub/client/win32/d5091.exe
(try:12) => `packages/d5091.exe'
Connecting to ftp.attglobal.net[165.87.194.246]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/client/win32 ... done.
==> PORT ...
Invalid PORT.
Retrying.
(try:12) => `packages/d5091.exe'
Connecting to ftp.attglobal.net[165.87.194.246]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/client/win32 ... done.
==> PORT ...
Invalid PORT.
Retrying.
It got up to
(try:20) before I killed it. Perhaps a limit of three attempts would be
appropriate. The wget command line parameter is --tries=X , although in Cygwin
this must again be added before the $url argument. Maybe this is a slight bug in
the port of wget.
.
Would it be possible
to add an extra bit of output to the script so that the operator can tell in
which file the "URL|xxx|" line being processed occurs. I've stuck in a line that
says "echo Processing $file" before performing the wget
command
.
JMB
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender
immediately by telephoning +44(1684) 278700. You should not copy it
or use it for any purpose nor disclose or distribute its contents to
any other person.
