cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problem to accessing Sirius internet radio

From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Fri, 4 Jan 2008 14:11:12 +0530

Hi all;
          URL is www.sirius.com

curl_easy_setopt(c, CURLOPT_URL, URL);

curl_easy_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);

curl_easy_setopt(curl, CURLOPT_USERPWD, "abc_at_yahoo.com:JdccH647734");

res= curl_easy_perform(curl);

 

I used above using libcurl

but I am not able to connect to Sirius player.I want to stream Sirius
channel using curl library.

Please reply me what is wrong I am doing that's why I am not able to
connect Sirius media player.

 

Thnx.

Regards;

 

Ajeet

 

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of
curl-users-request_at_cool.haxx.se
Sent: Sunday, December 30, 2007 4:30 PM
To: curl-users_at_cool.haxx.se
Subject: curl-users Digest, Vol 28, Issue 26

Send curl-users mailing list submissions to
        curl-users_at_cool.haxx.se

To subscribe or unsubscribe via the World Wide Web, visit
        http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
or, via email, send a message with subject or body 'help' to
        curl-users-request_at_cool.haxx.se

You can reach the person managing the list at
        curl-users-owner_at_cool.haxx.se

When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-users digest..."

Today's Topics:

   1. Upload limit? Addendum (Matt Wills)
   2. Re: Newbie question (Dan Fandrich)

----------------------------------------------------------------------

Message: 1
Date: Sat, 29 Dec 2007 08:25:33 -0500
From: Matt Wills <FMP_at_VirtualVermont.com>
Subject: Upload limit? Addendum
To: curl-users_at_cool.haxx.se
Message-ID: <47764ACC.2090604_at_VirtualVermont.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

As usual, I somehow manage to track down a problem after I have asked
for help.

I can upload as much as I want (currently, 265 files max) if I use
AppleScript to execute upload as a shell command.

This, it would appear that the problem is in FileMaker (more
specifically, a plugin that is used).

Matt

------------------------------

Message: 2
Date: Sat, 29 Dec 2007 09:25:00 -0800
From: Dan Fandrich <dan_at_coneharvesters.com>
Subject: Re: Newbie question
To: curl-users_at_cool.haxx.se
Message-ID: <20071229172500.GB31380_at_coneharvesters.com>
Content-Type: text/plain; charset=us-ascii

On Fri, Dec 28, 2007 at 05:00:14PM -0800, Ye, Wilson wrote:
> I trying to get this web login page working but seem to have encountered a
> problem but I can not seem to resolve the problem. Here's two format of
> passing the login and password to the login page using two different
> parameters:
>
> curl -d user=Nexx&password=Mu%244@%40p91&switch=Login%40In https://
> login.phxxx.com
>
> OR
>
> curl -F "user=Nexx" -F "password=Mu$V_at_p91" -F "switch=Login In" https://
> login.phxxx.com

-d and -F send two different types of forms to the server--you need to find
out which one is expected by the server and use that one (it's probably -d).
If that still doesn't work, you may need to turn on cookies support in
curl and do a request first to obtain a cookie.

> Questions:
>
> NOTE: I have the a secure login web page.
>
> 1. Using the two different methods, are these correct and if not, can you
let
> me know what is specifically wrong I'm doing?

Not without seeing the form.

> 2. Also, how can I determine if I'm getting the correct result base on the
> output generated by the trace?

You can use the -v or --trace-ascii options to curl to see what it's
sending,
which you may compare to the output of LiveHeaders in Firefox.

> BTW: It seems to be easy but it seems I'm missing a step or another
parameter
> or something I'm trying to point down.

Probably true.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
------------------------------
_______________________________________________
curl-users mailing list
curl-users_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
End of curl-users Digest, Vol 28, Issue 26
******************************************
Received on 2008-01-04