[Top][All Lists]

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

Re: [Bug-wget] Parameter --output-document=file

From: Micah Cowan
Subject: Re: [Bug-wget] Parameter --output-document=file
Date: Thu, 27 Jan 2011 08:51:04 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101208 Thunderbird/3.1.7

On 01/26/2011 02:09 AM, Ong Chun Yun wrote:
> Hi 
> I encountered some issue with the wget command line due to different versions 
> in 
> the different environment (DEV,PROD).
> In PROD, wget is 1.9.1, and in DEV, wget is 1.12. I am not sure if the 
> difference in version is causing my output to be different.
> The command line is something like this:
> wget ftp://*username*:address@hidden/abc/abc/*_20110119_File.csv 
> --tries=3 --waitretry=10 --timeout=60 --output-document=File.csv
> In the FTP server, there are 2 files:
> 123456_20110119_File.csv
> 345678_20110119_File.csv
> These 2 files will be download and concatenated to the output file File.csv 
> in 
> DEV (wget 1.12)
> However actually these 2 files are not concatenated to the output file 
> File.csv 
> in PROD (wget 1.9)

The behavior you see in wget 1.12 is the same behavior we had in wget
1.9. For instance, if you run

src/wget \
ftp://micah.cowan.name/pub/ditty/ditty-0.6.tar.gz \

You will get two files; if you run the same command with -O foo, you get
a file foo whose size is the sum of the two files you got with the
original command. This behavior has always been present. The ONLY
related change in wget 1.12, is that it is now better documented.

If you have a wget 1.9 that does not behave in this way, then your wget
was not ours. Perhaps it was modified by a distributor?

Micah J. Cowan

reply via email to

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