curl-library
curl_easy_perform() failed: Unable to parse FTP file list
Date: Mon, 5 Nov 2012 10:28:28 +0530
Hi,
I am getting below error, while trying to do an ftpdownload from a solaris
ftp server.
226 ASCII Transfer complete
Connection #0 to host 192.168.40.215 left intact
Re-using existing connection! (#0) with host 192.168.40.215
Connected to 192.168.40.215 (192.168.40.215) port 21 (#0)
Closing connection #0
Unable to parse FTP file list
It seems to give error in highlighted line of directory listing:
227 Entering Passive Mode (192,168,40,215,232,30)
150 ASCII data connection for /bin/ls (192.168.4.192,6097) (0 bytes).
total 180
I am using below options:
curl_easy_setopt(ftpHnd, CURLOPT_WILDCARDMATCH, 1L);
curl_easy_setopt(ftpHnd, CURLOPT_TIMEOUT, 0L);
curl_easy_setopt(ftpHnd, CURLOPT_FTP_RESPONSE_TIMEOUT, 0L);
Please help if I am missing something.
Please let me know if any other information is required.
Thanks,
pgarg
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-05