curl-library
Re-init curl handle needed on errors?
From: Cadime <ricardo-v-cadime_at_ptinovacao.pt>
Date: Mon, 12 Nov 2001 14:49:07 -0000
Date: Mon, 12 Nov 2001 14:49:07 -0000
Hi all,
I am repeatedly doing the sequence a operations using the same CURL handle
(libcurl)
A) NLST a directory, using CURLOPT_CUSTOMREQUEST option
B) Getting files from that directory
All seems to work under normal conditions.
When a directory is empty, A) returns CURLE_FTP_COULDNT_RETR_FILE and B) is
not executed ( I force that)
However, when it tries to execute A) again if fails with FTP Access denied
CURLE_FTP_ACCESS_DENIED.
Do I need to curl_easy_init() my handle in these circunstances?
Thanks for any help
Ricardo Cadime
Received on 2001-11-12