cURL / Mailing Lists / curl-library / Single Mail

curl-library

Character conversion for sftp

From: NAGASEKHAR BHUVANAGIRI <bnagasekhar_at_gmail.com>
Date: Mon, 29 Mar 2010 09:48:47 +0530

Hi,
I am using libcurl 7.18.1 to do ftp and sftp (libssh2-1.1) on z/OS. By
defining the CURL_ICONV_CODESET_OF_HOST and CURL_ICONV_CODESET_OF_NETWORK,
ftp is done correctly.
But, I still see the problem with sftp.
I see that the "ftp_readresp" does data conversion using
Curl_convert_from_network
and "Curl_nbftpsendf" does it through Curl_convert_to_network (/lib/ftp.c).
Similar conversion is not done for sftp's Curl_sftp_recv and Curl_sftp_send
(src/curl/curl-7.18.1/lib/ssh.c).
Could someone advice me how the character conversion can be handled for
sftp?

Thanks in advance,
Nagasekhar

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-29