cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Use memory to ftp upload large image and got a bad performance

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 27 Apr 2009 08:36:23 +0200 (CEST)

On Mon, 27 Apr 2009, huafeng wu wrote:

Please don't top-post!

> memcpy((char *)ptr, &pRead->memory[0], BUFFER_SIZE);

You should copy as much data as libcurl asks you for. BUFFER_SIZE will not be
universally fine.

-- 
  / daniel.haxx.se
Received on 2009-04-27

These mail archives are generated by hypermail.

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

File upload with ASP.NET