--- /home/mccreed/curl-7.15.6-20060821/lib/transfer.c 2006-08-19 22:00:22.000000000 -0400 +++ lib/transfer.c 2006-08-22 15:15:37.188806000 -0400 @@ -170,7 +170,7 @@ *nreadp = nread; #ifdef CURL_DOES_CONVERSIONS - if(data->ftp_in_ascii_mode) { + if(conn->proto.ftp->transfertype == 'A') { CURLcode res; res = Curl_convert_to_network(data, conn->upload_fromhere, nread); /* Curl_convert_to_network calls failf if unsuccessful */