bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wget creating file


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] wget creating file
Date: Tue, 21 Dec 2010 14:24:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

I am not sure how this can be achieved under Windows.  If you don't need
a GET request but a HEAD request is enough, then you can use --spider.

IIRC, the shell under Windows provide NUL, which can emulate /dev/null
somehow.  I don't have a Windows system here to try it, but you can.

Does:

wget .... -O- > NUL

do the job?

Giuseppe



Wines Joe IM <address@hidden> writes:

> Hi,
>
> Can you please help?
>
> My command is:
> wget --tries 1 --no-check-certificate "http://server:8080/trigger"; 
> --post-data="code=12345&pvob-name=VOB&stream-name=STREAM" -o 
> "C:\Temp\CIBuild.log"
>
> The command is creating a file called "trigger" when I run this in the c.w.d. 
> How can I stop it creating this file? (Presumably it is picking up "trigger" 
> from the URL).
> Below is the output from a cmd-prompt:
>
> C:\>wget --tries 1 --no-check-certificate "http://server:8080/trigger"; 
> --post-data="code=12345&pvob-name=VOB&stream-name=STREAM" -o 
> "C:\Temp\CIBuild.log"
> SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
> syswgetrc = C:\Program Files\GnuWin32/etc/wgetrc
>
> C:\>dir
>  Volume in drive C is System
>  Volume Serial Number is E460-B2A1
>
>  Directory of C:\
>
> 21/03/2010  14:15             1,024 .rnd
> 22/09/2008  11:25    <DIR>          ADFS
> 01/08/2008  11:22                 0 AUTOEXEC.BAT
> 01/08/2008  12:16    <DIR>          CMPNENTS
> 01/08/2008  11:22                 0 CONFIG.SYS
> 13/04/2010  15:23    <DIR>          Documents and Settings
> 01/08/2008  12:16    <DIR>          I386
> 22/09/2008  11:29    <DIR>          Inetpub
> 19/12/2010  00:30    <DIR>          mvfslogs
> 09/03/2010  11:21    <DIR>          Networker
> 20/12/2010  09:46    <DIR>          Program Files
> 20/12/2010  14:27    <DIR>          temp
> 20/12/2010  15:00                 0 trigger
> 09/12/2010  13:57    <DIR>          WINDOWS
> 01/08/2008  11:22    <DIR>          wmpub
>               3 File(s)        147,989 bytes
>               11 Dir(s)  13,322,190,848 bytes free
>
> C:\>
>
> The C:\Temp\CIBuild.log file was created successfully and contains:
>
> --2010-12-20 15:00:00--  http://server:8080/trigger
> Resolving server... 10.107.61.132
> Connecting to server|10.107.61.132|:8080... connected.
> HTTP request sent, awaiting response... 202 Successfully activated trigger 
> "Cabs Build Trigger"
> Length: 0
> Saving to: `trigger'
>
>      0K                                                        0.00 =0s
>
> 2010-12-20 15:00:00 (0.00 B/s) - `trigger' saved [0/0]
>
> Regards,
> Joe
> Joe Wines | SCM Tools Administrator
> LU Information Management | Faith Lawson House, 4rd Floor | 15-17 Dacre 
> Street | London SW1H 0DJ
> Tel: 020 7126 1148 | Auto: 61148 | Email: 
> address@hidden<mailto:address@hidden>
>
>
> ***********************************************************************************
> 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 address@hidden, 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.
> ***********************************************************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]