Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <004901c3cfc6$ede09ae0$62a804d5@d5o2l2> From: "doblejota" To: Subject: wget, continued download Date: Wed, 31 Dec 2003 18:51:52 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Hi, I'm trying to get a section of a web page using wget. I edit a previous page source just leaving an initial section. Then, I execute wget -c url I obtain Continued download failed on this file, which conflicts with `-c'. Refusing to truncate existing file 'name.ext'. (Name of file I've edited). The program obtains the page size before crash, bigger than modified file, so why does it try to truncate the file? I've tried to apply -N option, no change. Also I've used -O option; the file is whole downloaded, I just want the last section. Do you know a command-line application witch uses HTTP Range request in that way? By the way, if I want to stop download after the application receives an specific word from server, how can I do it? I expected it is posible using a pipe that analize wget output, but how? Note Cygwin pipes (DOS) features. Thanks to everybody. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/