curl-library
Re: optimizing TYPE in FTP
From: Armel Asselin <asselin.armel_at_wanadoo.fr>
Date: Wed, 9 Aug 2006 23:23:39 +0200
Date: Wed, 9 Aug 2006 23:23:39 +0200
> I guess it forces you to add a 'conn' pointer to the Curl_client_write()
> prototype...
OK I did this (replaced 'SessionHandle *data' with 'connectdata *conn' in
fact rather than adding)
The line to check for ASCII is now:
if((conn->protocol&PROT_FTP) && conn->proto.ftp->transfertype == 'A') {
is it OK?
Armel
Received on 2006-08-09