cURL / Mailing Lists / curl-library / Single Mail


RE: Port from URI is not taken

From: Daniel Stenberg <>
Date: Thu, 30 Aug 2012 23:03:04 +0200 (CEST)

On Thu, 30 Aug 2012, Sidde Gowda wrote:

> You are right. I am not saying that libcurl has issues. I sent the options
> that I am using in the previous email. Did you notice any strange in that
> code related to using curl options?


> But for some reasons, I am only getting the webpage with content html. I
> also tried to download rfx from but again got the home page. Do
> I need to use any special options to get the file? Thanks for replying on
> this issue.

You get exactly the resource you ask for. The URL you pass to libcurl gets
converted to a HTTP request and that's what the server gets and responds to.
libcurl doesn't know any difference between "the HTML" and "the file".

List admin:
Received on 2012-08-30