curl-users
Re: Curl in loop not working
From: Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net>
Date: Fri, 12 Aug 2005 22:46:06 -0400
Received on 2005-08-13
Date: Fri, 12 Aug 2005 22:46:06 -0400
On Wed, 2005-08-10 at 16:31 +0530, Sagar Saibi wrote:
> Hi,
>
> I have number of links which I want to capture. I am using a Unix
> shell script to capture these links.
> I have loop in which I read one link at a time from a file and
> pass it to curl.
> Curl captures the file which is of around 320+ MB , but when it
> goes to capture the next link it changes the earlier captured file to
> 1KB size file.
> I have also tried moving the file to some other location before
> the next curl statement.
> But still the file got changed to 1KB size file.
> If I curl only one file I get a proper 320MB file.
>
> Can someone help me?
Not based solely on that description. Show some code.
-- Ignacio Vazquez-Abrams <ivazquez_at_ivazquez.net> http://fedora.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72
- application/pgp-signature attachment: This is a digitally signed message part