Skip to content
Prev 38141 / 63424 Next

cannot connect to an FTP server with long HELLO message

The example works for me (eventually: the site was very slow to 
respond) --- nanoftp reads the response in 1024 byte chunks and makes 
sense of it.

We do provide debugging facilites via, say,
options(internet.info=0, warn=1, warning.length=4000)
which may help you debug this.  Simply fiddling with the buffer size 
doesn't help understanding and might well break something else.

The code is essentially unchanged since 2006 when inter alia the 
buffer size was doubled to 1024 (because libxml2 2.6.6 did), and 
AFAICS is essentially unchanged in the current snapshots of libxml2.

I can surmise that the nanoftp C code might break if the actual 
control code spanned 1024-byte chunks, but it needs someone with the 
problem to debug in more detail.
On Thu, 21 Oct 2010, Herv? Pag?s wrote:

            
Well, one of many such.