cURL / Mailing Lists / curl-library / Single Mail

curl-library

Query about

From: Ranu Gontia <ranu_gontia_at_persistent.co.in>
Date: Mon, 23 Feb 2009 14:11:33 +0530

Hi all,

 

I have to upload few files in the server using FTP.

Before starting this, I have to check weather the server is reachable or not
i.e i am able to connect to server or not.

I tried it but curl_easy_perform returns CURLE_OK even if it could not
connect to the server.

I have simply provided all the information and nothing to upload to check
the server connectivity.

PFA the code for checking connection.

 

Thanks,

Ranu

Received on 2009-02-23