cURL / Mailing Lists / curl-users / Single Mail


Question About CURL and Sessions.

Date: Tue, 14 Oct 2003 11:33:48 -0300 (CLST)

        I'm new in the use of curl program. I'm trying to send comands to
a Server. This server has a Web Interface, and the first page is a logon
page. For example i want to modify the parameter retry. So i apply the
next line:

curl -d save=save -d retry=400 -u user:pass

This only works if I have just created a session before.

If i use

curl -d save=save -d retry=400 -u user:pass

I obtain the next line :

<TITLE>snom proxy: Redirect</TITLE>
If you don't get redirected automatically, please click<a

so i send again :

curl -d save=save -d retry=400 -u user:pass

And i obtain the logging page... but don't make any changes.....

So the command only work if i send a session parameter (that i don't know
before i start a session), and if the command is not send i obtai a
redirect page....

I really don't know if this is a problem with the curl or is a problem
with my Server..but maybe someone has a similar problem....

Any ideas?!?!?

Thanks in advance..

 "...for long you live and high you fly
  And Smiles you'll give and tears you'll cry
  And all you touch and all you see
  Is all your life will ever be..."

 Ricardo Javier Martinez Ogalde
 Ingenieria Civil Electrica
 Universidad de Chile

This email is sponsored by: Giveback Program. hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here:
Received on 2003-10-14