bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] --post-file questions


From: Johan Moraal
Subject: [Bug-wget] --post-file questions
Date: Tue, 8 Jan 2013 10:51:15 +0200

Hi All

How do I get wget to post a list of files, each in a seperate HTTP request?

I've tried the following in a batch file:

wget -a vid_2_1.log --delete-after --header="range: -1"
--post-file="test_files/video_2/vid11.bin" 10.84.67.129/s1p0:1/vid2.bin
wget -a vid_2_2.log --delete-after --header="range: -1"
--post-file="test_files/video_2/vid12.bin" 10.84.67.129/s1p0:1/vid2.bin
wget -a vid_2_3.log --delete-after --header="range: -1"
--post-file="test_files/video_2/vid13.bin" 10.84.67.129/s1p0:1/vid2.bin
wget -a vid_2_4.log --delete-after --header="range: -1"
--post-file="test_files/video_2/vid14.bin" 10.84.67.129/s1p0:1/vid2.bin
wget -a vid_2_5.log --delete-after --header="range: -1"
--post-file="test_files/video_2/vid15.bin" 10.84.67.129/s1p0:1/vid2.bin

This posts 5 files to the server consecutively. The problem is that wget
closes the connection and exits. Then a new instance of wget is started to
post the next file.

I want one instance of wget to stay alive, and to generate a new HTTP
request for each file, over the same connection.

-- 
Johan


reply via email to

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