cURL / Mailing Lists / curl-users / Single Mail

curl-users

conversation problems

From: Ignacio Fridemberg <ignacio_Fridemberg_at_hotmail.com>
Date: Tue, 22 Nov 2011 23:33:23 -0300

Hi, i am a roockie with curl. I attemps write a script thant follow task:

-login to web interface of 3com switch by web interface
-do fill some field like ip īs tftp server and name 's bakup file and
 finally, press ok boton.

i tried with next command
curl -d "use_name = xxx& password=zzzz%lang=0" http://swtchName/login.html
then
curl -d "ip=xxxx&rfile=xxx.cfg&*uid*=xxx" http://switch/backup

here, my problem, the uid variable change in every conection login, Are
there any curl command? to obtain this uid variable for it do automatic work

I apreciate any answer

Pd: sorry for my bad english

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-11-23