cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Fw: Posting a file with libcurl

From: Lars Nilsson <chamaeleon_at_gmail.com>
Date: Mon, 20 Jul 2009 16:31:08 -0400

On Mon, Jul 20, 2009 at 4:09 PM, Patrick Demers<p_dem_at_hotmail.com> wrote:
> Hi,
>     i have a c++ project where i post a file using curl_form. When my file
> path contain only non-unicode char, the file post correctly, but when i have
> unicode char in the file path, it does not work. Anyone have an idea of how
> i can post a file with unicode in the filepath ?

Are you able to use fopen or STL's ifstream to open the file, using
the Unicode name?

Lars Nilsson
Received on 2009-07-20