(12/21/2010 04:25 PM), Ángel González wrote: > Wines Joe IM wrote: >> Giuseppe, >> >> Thanks for your response. Unfortunately it doesn't work with > NUL or > nul >> (tried both). The trigger file contains nothing so I have no idea why it is >> creating it?! >> >> Regards, >> Joe > > Note that you are downloading the file http://server:8080/trigger > (storing it on file called "trigger") and saving the wget download > messages in C:\Temp\CIBuild.log > I suspect you wanted to store in CIBuild.log the content downloaded from > the server instead. That's the -O switch, not -o. > Of course, you should then debug why the server is not returning > anything to your request...
Angel, I doubt that he meant to store something other than the "log" messages in something he named ".log". I suspect that he's just trying to post some data to the specified link, which isn't expected to provide a real response, which is why he finds the resulting "trigger" file useless. -O- > NUL (or perhaps just -O NUL) ought to do the trick, once he's doing that. -- Micah J. Cowan http://micah.cowan.name/
