1 |
Hi, |
2 |
|
3 |
Is there any way to make emerge (wget) correctly behave when it tries |
4 |
to download a non-existing file from FTP |
5 |
in a network using ISA as ftp_proxy ? I have one of these at work and |
6 |
it's really annoying because of situations |
7 |
like below: |
8 |
|
9 |
pazuzu ~ # LC_ALL=C wget -T 30 -t 1 --continue -O |
10 |
/var/cache/src/cvsps-2.1.tar.gz |
11 |
ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/cvsps-2.1.tar.gz |
12 |
--2010-09-10 16:31:25-- |
13 |
ftp://ftp.gentoo.mesh-solutions.com/gentoo/distfiles/cvsps-2.1.tar.gz |
14 |
Connecting to 10.144.1.10:8080... connected. |
15 |
Proxy request sent, awaiting response... 200 OK |
16 |
Length: unspecified [text/html] |
17 |
Saving to: `/var/cache/src/cvsps-2.1.tar.gz' |
18 |
|
19 |
[ <=> |
20 |
] 318 |
21 |
--.-K/s in 0s |
22 |
|
23 |
2010-09-10 16:31:25 (14.9 MB/s) - `/var/cache/src/cvsps-2.1.tar.gz' saved [318] |
24 |
|
25 |
Wget thinks, that this file was downloaded when really it contains |
26 |
some crap produced by ISA: |
27 |
|
28 |
pazuzu ~ # cat /var/cache/src/cvsps-2.1.tar.gz |
29 |
<HTML> |
30 |
<meta http-equiv="Content-Type" content="text-html; charset=UTF-8"> |
31 |
<HEAD> |
32 |
<TITLE>Server error message </TITLE> |
33 |
</HEAD> |
34 |
<BODY><H1>ISA Server: extended error message : </H1> |
35 |
<PRE>200 Switching to Binary mode. |
36 |
227 Entering Passive Mode (213,203,218,123,116,42) |
37 |
550 Failed to open file. |
38 |
</PRE> |
39 |
</BODY> |
40 |
</HTML> |
41 |
pazuzu ~ # |
42 |
|
43 |
|
44 |
Is there any way to work around this problem ? |
45 |
Is it neccessary to change ISA configuration to properly respond to an |
46 |
ftp client when |
47 |
the file is missing ? If yes, how ? |
48 |
|
49 |
Best regards, |
50 |
Maciej Grela |