cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: how open web page using curl with bowser

From: Sajith T S <sajith_at_gmail.com>
Date: Fri, 14 Nov 2008 23:26:54 +0530

Jayalakshmi <jaya_at_innovatesolutions.net> wrote:
> i want to open home page of my web server using curl command line.
>
> my system is using Mozilla Firefox bowser (linux OS).
>
> i tried with following commands, but still it is opening in the
> text/html format.
>
> curl -A 'Mozilla/4.05 [en] (X11; U; Linux 2.0.32 i586)' URL
>
> Even i donot know which version of Mozilla Firefox I am using ?

Shouldn't you be calling firefox directly? Like:

   firefox http://my.web.server

The '-A' option merely changes the user-agent string sent to the web
server; it will not launch a browser.

-- 
"the lyf so short, the craft so long to lerne."  
     	         -- Chaucer.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-11-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET