cURL
Your ad here would be seen by 100,000 unique vistors every month Haxx ad
libcurl

Shopping cart software, Online file storage, Online photo storage, Hosted shopping cart, Contact management software, Email marketing software, Project management software, Issue tracking software, Online notepad, Web publishing software

curl's project page on SourceForge.net

cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

Re: libcurl and HTTP 307 re-directs

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 16 May 2009 22:17:07 +0200 (CEST)

On Thu, 14 May 2009, Apurva Mehta wrote:

> Hello, I am curious about the way libcurl handles 307 Temporary Redirects
> from a webserver during an HTTP PUT. I have noticed that if I specify a
> FILE* as an argument to CURLOPT_READDATA, the contents of the file are not
> being sent on the redirect attempts. Are there some special settings I need
> to set for the file contents to be re-sent on subsequent attempts?

CURLOPT_SEEKFUNCTION is your friend!

-- 
  / daniel.haxx.se
Received on 2009-05-16

These mail archives are generated by hypermail.

donate! Page updated April 20, 2009.
web site info

File upload with ASP.NET