Everything is working fine with the actual post-data part. I just didn't want to create the local file "trigger". Giuseppe pointed out that I should use -O- > NUL which has solved the problem. Everything else gets outputted to the C:\temp file.
Thanks for all your comments. Regards, Joe -----Original Message----- From: Ángel González [mailto:[email protected]] Sent: 22 December 2010 00:26 To: Wines Joe IM Cc: '[email protected]' Subject: Re: [Bug-wget] wget creating file 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... *********************************************************************************** The contents of the e-mail and any transmitted files are confidential and intended solely for the use of the individual or entity to whom they are addressed. Transport for London hereby exclude any warranty and any liability as to the quality or accuracy of the contents of this email and any attached transmitted files. If you are not the intended recipient be advised that you have received this email in error and that any use, dissemination, forwarding, printing or copying of this email is strictly prohibited., If you have received this email in error please notify [email protected]., This email has been sent from Transport for London, or from one of the companies within its control within the meaning of Part V of the Local Government and Housing Act 1989. Further details about TfL and its subsidiary companies can be found at http://www.tfl.gov.uk/ourcompany, This footnote also confirms that this email message has been swept for the presence of computer viruses. ***********************************************************************************
