cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] cURLpp Digest, Vol 16, Issue 2

From: Eric Kneisel <fkneisel_at_teslaforecast.com>
Date: Wed, 5 Jul 2006 17:47:53 -0400

Thanks guys,

That solved the problem, I was misunderstanding the documentation. I
thought that " The curl_easy_getinfo(3) function with the CURLINFO_FILETIME
argument can be used after a transfer to extract the received time (if any)"
Meant that I'd be getting back the modify date/time of the new file and not
the date/time of the file on the remote server.

Thanks again everyone,
Eric

-----Original Message-----
From: curlpp-bounces_at_rrette.com [mailto:curlpp-bounces_at_rrette.com] On Behalf
Of curlpp-request_at_rrette.com
Sent: Wednesday, July 05, 2006 12:00 PM
To: curlpp_at_rrette.com
Subject: cURLpp Digest, Vol 16, Issue 2

Send cURLpp mailing list submissions to
        curlpp_at_rrette.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.rrette.com/mailman/listinfo/curlpp
or, via email, send a message with subject or body 'help' to
        curlpp-request_at_rrette.com

You can reach the person managing the list at
        curlpp-owner_at_rrette.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of cURLpp digest..."

Today's Topics:

   1. Re: retrieving the modify date/time from a file on an FTP
      server. (Daniel Stenberg)
   2. Re: retrieving the modify date/time from a file on an FTP
      server. (Jean-Philippe Barrette-LaPierre)

----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Jul 2006 00:04:22 +0200 (CEST)
From: Daniel Stenberg <daniel_at_haxx.se>
Subject: Re: [cURLpp] retrieving the modify date/time from a file on
        an FTP server.
To: "cURLpp's mailing-list" <curlpp_at_rrette.com>
Message-ID: <Pine.LNX.4.64.0607050003140.14820_at_yvahk3.pbagnpgbe.fr>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Mon, 3 Jul 2006, Eric Kneisel wrote:

> My question I suppose is what function is it saying to pass the pointer to
a
> long into. The easy_perform fuction doesn't seem to take a pointer to a
> long, and downloads the file ontop of that.

CURLINFO_FILETIME is passed to curl_easy_getinfo(). It takes a long pointer
as
argument.

CURLOPT_FILETIME is passed to curl_easy_setopt(). It takes a long as
argument.

-- 
          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
   ech`echo xiun|tr nu oc|sed 'sx\([s\x]\)\([\xoi]\)xo un\2\1 is xg'`ol
------------------------------
Message: 2
Date: Tue, 04 Jul 2006 20:33:31 -0400
From: Jean-Philippe Barrette-LaPierre <jpb_at_rrette.com>
Subject: Re: [cURLpp] retrieving the modify date/time from a file on
	an	FTP	server.
To: "cURLpp's mailing-list" <curlpp_at_rrette.com>
Message-ID: <1152059611.26242.4.camel_at_sleepy.idilia.net>
Content-Type: text/plain
On Wed, 2006-07-05 at 00:04 +0200, Daniel Stenberg wrote:
> On Mon, 3 Jul 2006, Eric Kneisel wrote:
> 
> > My question I suppose is what function is it saying to pass the pointer
to a 
> > long into.  The easy_perform fuction doesn't seem to take a pointer to a
> > long, and downloads the file ontop of that.
> 
> CURLINFO_FILETIME is passed to curl_easy_getinfo(). It takes a long
pointer as 
> argument.
> 
> CURLOPT_FILETIME is passed to curl_easy_setopt(). It takes a long as
argument.
> 
If I understand correctly, you want to know the time BEFORE any
download?
------------------------------
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
End of cURLpp Digest, Vol 16, Issue 2
*************************************
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2006-07-05

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET