cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Lynx replacement

From: Charles Romestant <cromestant_at_gmail.com>
Date: Thu, 21 May 2015 10:16:40 -0400

On Thu, May 21, 2015 at 9:34 AM, Ibrahim Salim Omari <iomari_at_gmail.com>
wrote:

> greetings,
> How can I use curl to replace the following lynx command:
>
> lynx -dump -auth=name:password "
> http://192.168.1.88/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=down&-speed=45
> "
>
> Thanks in advance
> Ibrahim
>
> -------------------------------------------------------------------
> 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
>
> you should be able to do simply
curl -u name:password "
http://192.168.1.88/web/cgi-bin/hi3510/ptzctrl.cgi?-step=0&-act=down&-speed=45"
> file_to_dump_in

-- 
MSc. Charles M. Romestant F.
Merci de penser à l'environnement avant d'imprimer cet e-mail
Please think about the environment before you print this e-mail
Por favor piense en el medio ambiente antes de imprimir este e-mail

-------------------------------------------------------------------
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 2015-05-21