ftp recursive behind a proxy

2004-11-10 Thread Jesus Villalba
Dear Sir or madam,
I've noticed that the following scenario does not work as I expected:
My client (wget) is behind a ftp-proxy and I try to download recursive 
from a ftp server (anyone) with the following command:

wget --follow-ftp -r -l 2 -p -k ftp://ftp-server
in wgetrc I have the following entry:
ftp_proxy = http://ftp-proxy:3128/
The result ist that wget don't follow the links of the index.html file 
sent by the proxy and only receive the index.html file. I works properly 
(recursive) when I call wget without proxy, i.e as above with the option 
--proxy=off.

I've been searching wget options that maybe avoid this problem, but 
without success.

Thaks a lot for your attention,
Greetings,
Jesus Villalba


RE: Newbie needs to start wget in background

2004-11-10 Thread Herold Heiko



This 
is not a wget problem.
Your 
task scheduler runs wget in foreground, over any console application (the movie) 
you are running currently.
THEN 
wget immedeatly correctly puts itself in background, the window closes and your 
previous topmost application (the movie) is topmost again (although possibly 
without keyboard/mouse input focus!).
You 
need to investigate how to run wget in a different way. With the old scheduler 
(windows NT 4) you could configure the service accordingly, I don't know the 
impact of that on the IE5.5/W2K/XP Task Scheduler (which replaced the previous 
scheduler).

Heiko
 PREVINET S.p.A. www.previnet.it-- Heiko 
Herold [EMAIL PROTECTED] [EMAIL PROTECTED]-- +39-041-5907073 
ph-- +39-041-5907472 fax 

  -Original Message-From: Mike Andersen 
  [mailto:[EMAIL PROTECTED]Sent: Wednesday, November 10, 2004 
  12:19 AMTo: [EMAIL PROTECTED]Subject: Newbie needs to 
  start wget in background
  
  Hi,
  Can anyone on the list tell me how 
  to have wget start and run entirely in the background on Windows XP, so no 
  console window ever opens, not even briefly.
  
  I would like to use wget for 
  automatically updating files on windows XP client machines, however it needs 
  to be completely invisible to the user. The client machines will be playing 
  small movies, which will update from time to time, and wget seems like a 
  natural solution to have the client machines pull down their own updates. My 
  strategy so far has been to use Windows Task Scheduler and schedule at regular 
  intervals a command line call to wget, like this:
  
  C:\WINDOWS\wget.exe -b -q -m -np 
  -nH -nd -l 1 -Pc:/test http://www.mydomain.com/movies/ 
  
  
  As you can see, I'm using the -b 
  (background) and -q (quiet) options, and this *almost* works. A windows console appears 
  for just a fraction of a second, but it appears on top of the movie and I know 
  my client will not accept that. I even tried putting the  on the end of 
  the command, but no dice.
  
  I've also tried using the -o 
  option, but that didn't help either. 
  
  I've looked through the list and 
  noticed a thread or two about making wget run completely in the background, 
  but this appears to involve patching wget, and I'm not sure if it works in 
  windows, and I doubt I have the know-how to patch the application it 
  correctly. And that's assuming that a version of wget that runs entirely in 
  the background does actually exist. 
  
  I'd really appreciate it if anyone 
  on the list could help me out with this. 
  
  I'm not subscribed to the list, so 
  please copy me in your responses: [EMAIL PROTECTED].
  
  Many Thanks,
  
  Mike
  


Re: ftp recursive behind a proxy

2004-11-10 Thread Mauro Tortonesi
Alle 12:22, mercoledì 10 novembre 2004, hai scritto:
 Dear Sir or madam,

 I've noticed that the following scenario does not work as I expected:

 My client (wget) is behind a ftp-proxy and I try to download recursive
 from a ftp server (anyone) with the following command:

 wget --follow-ftp -r -l 2 -p -k ftp://ftp-server

 in wgetrc I have the following entry:

 ftp_proxy = http://ftp-proxy:3128/

 The result ist that wget don't follow the links of the index.html file
 sent by the proxy and only receive the index.html file. I works properly
 (recursive) when I call wget without proxy, i.e as above with the option
 --proxy=off.

 I've been searching wget options that maybe avoid this problem, but
 without success.

yes, this is a known bug which will be fixed in the next release of wget.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi

University of Ferrara - Dept. of Eng.http://www.ing.unife.it
Institute of Human  Machine Cognition   http://www.ihmc.us
Deep Space 6 - IPv6 for Linuxhttp://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it


Re: wget-1.9.1

2004-11-10 Thread Mauro Tortonesi
Alle 14:04, mercoledì 10 novembre 2004, Sergei Smirnov ha scritto:
 Nice to meet you! [EMAIL PROTECTED],

   wget fall to core. core file is attached.
   follow step i get core.
   wget
 ftp://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/iso/FC3-i386-
DVD.iso lenght it file -- -185546781 bytes (long int, must be long unsigned
 int, best double long unsigned int)

unfortunately wget 1.9.1 does not have long file support, but there is a patch 
waiting to be included in the next release.

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi

University of Ferrara - Dept. of Eng.http://www.ing.unife.it
Institute of Human  Machine Cognition   http://www.ihmc.us
Deep Space 6 - IPv6 for Linuxhttp://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it


RE: Newbie needs to start wget in background

2004-11-10 Thread Mathias Wittwer
Title: Message



www.nncron.ru gives you the possiblity to run 
any program as a service. that will help solving your issue! US 29.95 for 
license



-Original Message-From: Herold 
Heiko [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 November 
2004 5:40 a.m.To: 'Mike Andersen'; [EMAIL PROTECTED]Subject: 
RE: Newbie needs to start wget in background

  This 
  is not a wget problem.
  Your 
  task scheduler runs wget in foreground, over any console application (the 
  movie) you are running currently.
  THEN 
  wget immedeatly correctly puts itself in background, the window closes and 
  your previous topmost application (the movie) is topmost again (although 
  possibly without keyboard/mouse input focus!).
  You 
  need to investigate how to run wget in a different way. With the old scheduler 
  (windows NT 4) you could configure the service accordingly, I don't know the 
  impact of that on the IE5.5/W2K/XP Task Scheduler (which replaced the previous 
  scheduler).
  
  Heiko
   PREVINET S.p.A. www.previnet.it-- Heiko 
  Herold [EMAIL PROTECTED] [EMAIL PROTECTED]-- +39-041-5907073 
  ph-- +39-041-5907472 fax 
  
-Original Message-From: Mike Andersen 
[mailto:[EMAIL PROTECTED]Sent: Wednesday, November 10, 2004 
12:19 AMTo: [EMAIL PROTECTED]Subject: Newbie needs to 
start wget in background

Hi,
Can anyone on the list tell me 
how to have wget start and run entirely in the background on Windows XP, so 
no console window ever opens, not even briefly.

I would like to use wget for 
automatically updating files on windows XP client machines, however it needs 
to be completely invisible to the user. The client machines will be playing 
small movies, which will update from time to time, and wget seems like a 
natural solution to have the client machines pull down their own updates. My 
strategy so far has been to use Windows Task Scheduler and schedule at 
regular intervals a command line call to wget, like this:

C:\WINDOWS\wget.exe -b -q -m -np 
-nH -nd -l 1 -Pc:/test http://www.mydomain.com/movies/ 


As you can see, I'm using the -b 
(background) and -q (quiet) options, and this *almost* works. A windows console 
appears for just a fraction of a second, but it appears on top of the movie 
and I know my client will not accept that. I even tried putting the  on 
the end of the command, but no dice.

I've also tried using the -o 
option, but that didn't help either. 

I've looked through the list and 
noticed a thread or two about making wget run completely in the background, 
but this appears to involve patching wget, and I'm not sure if it works in 
windows, and I doubt I have the know-how to patch the application it 
correctly. And that's assuming that a version of wget that runs entirely in 
the background does actually exist. 

I'd really appreciate it if 
anyone on the list could help me out with this. 

I'm not subscribed to the list, 
so please copy me in your responses: [EMAIL PROTECTED].

Many Thanks,

Mike



[bug] Absence of newline char after PORT with ftp and --spider

2004-11-10 Thread Adam Wysocki
Hi,

When wget 1.9.1, issued with --spider option, is given a ftp link (or 
http link redirecting it to ftp site), it doesn't put a newline char 
after doing PORT command.

gophi (not subscribed to list).

-- 
Adam Wysocki * http://www.gophi.apcoh.org/ * GG 1234 * GSM 508878856


RE: Newbie needs to start wget in background

2004-11-10 Thread Mike Andersen
Title: Message









Mathias, thank you very much for getting
back to me :) wincron was one option we were considering, nncron sounds like it
might be easier to use. I'll check it out and let the list know my results. 



Thanks again to the list for your help and
insight.



Mike



-Original Message-
From: Mathias Wittwer
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 10, 2004
2:38 PM
To: 'Herold Heiko'; 'Mike
Andersen'; [EMAIL PROTECTED]
Subject: RE: Newbie needs to start
wget in background





www.nncron.ru gives you the possiblity to run
any program as a service. that will help solving your issue! US 29.95 for
license























-Original
Message-
From: Herold Heiko
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 10 November 2004
5:40 a.m.
To: 'Mike Andersen';
[EMAIL PROTECTED]
Subject: RE: Newbie needs to start
wget in background







This is not a wget
problem.





Your task scheduler runs
wget in foreground, over any console application (the movie) you are running
currently.





THEN wget immedeatly
correctly puts itself in background, the window closes and your previous
topmost application (the movie) is topmost again (although possibly without
keyboard/mouse input focus!).





You need to investigate
how to run wget in a different way. With the old scheduler (windows NT 4) you
could configure the service accordingly, I don't know the impact of that on the
IE5.5/W2K/XP Task Scheduler (which replaced the previous scheduler).











Heiko






--
-- PREVINET S.p.A. www.previnet.it
-- Heiko Herold [EMAIL PROTECTED] [EMAIL PROTECTED]
-- +39-041-5907073 ph
-- +39-041-5907472 fax 





-Original
Message-
From: Mike Andersen
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 10, 2004
12:19 AM
To: [EMAIL PROTECTED]
Subject: Newbie needs to start
wget in background

Hi,

Can anyone on the list tell me how
to have wget start and run entirely in the background on Windows XP, so no
console window ever opens, not even briefly.



I would like to use wget for
automatically updating files on windows XP client machines, however it needs to
be completely invisible to the user. The client machines will be playing small
movies, which will update from time to time, and wget seems like a natural
solution to have the client machines pull down their own updates. My strategy
so far has been to use Windows Task Scheduler and schedule at regular intervals
a command line call to wget, like this:



C:\WINDOWS\wget.exe -b -q -m -np -nH
-nd -l 1 -Pc:/test http://www.mydomain.com/movies/ 



As you can see, I'm using the -b
(background) and -q (quiet) options, and this *almost* works. A windows console appears for just a fraction
of a second, but it appears on top of the movie and I know my client will not
accept that. I even tried putting the  on the end of the command, but no
dice.



I've also tried using the -o option,
but that didn't help either. 



I've looked through the list and
noticed a thread or two about making wget run completely in the background, but
this appears to involve patching wget, and I'm not sure if it works in windows,
and I doubt I have the know-how to patch the application it correctly. And
that's assuming that a version of wget that runs entirely in the background
does actually exist. 



I'd really appreciate it if anyone
on the list could help me out with this. 



I'm not subscribed to the list, so
please copy me in your responses: [EMAIL PROTECTED].



Many Thanks,



Mike