LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 06-16-2009, 06:15 AM   #1
DoME69
Member
 
Registered: Jan 2008
Posts: 143

Rep: Reputation: 15
help with "lynx" command...


Hi...

i need to get some http by using lynx command

cmd: lynx -minimal -source "https://ccm-pub.il.xxxxx.com:8444/webdialer/Webdialer?destination=123456789"

and i got this message:

"Alert!: This client does not contain support for HTTPS URLs.

lynx: Can't access startfile https://ccm-pub.il.xxxxx.com:8444/webdialer/Webdialer?destination=123456789"

there is any way to get this site by lynx ?

Thanks.
 
Old 06-16-2009, 08:24 AM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by DoME69 View Post
"Alert!: This client does not contain support for HTTPS URLs.
My guess is that you have a version of lynx compiled without SSL support.
 
Old 06-16-2009, 08:28 AM   #3
DoME69
Member
 
Registered: Jan 2008
Posts: 143

Original Poster
Rep: Reputation: 15
there is another way to load this site?
 
Old 06-16-2009, 08:32 AM   #4
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 509

Rep: Reputation: 41
Yes, with a SSL-supporting lynx. Yours seem to lack ssl-support.
 
Old 06-16-2009, 08:40 AM   #5
DoME69
Member
 
Registered: Jan 2008
Posts: 143

Original Poster
Rep: Reputation: 15
how can i config the SSL?

(this is work computer i cant do what ever i want)
 
Old 06-16-2009, 08:48 AM   #6
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
lynx has lousy ssl support. you can try this : http://www.freshports.org/www/lynx-ssl/

but if all you want to do is fetch html source then consider wget

wget "https://ccm-pub.il.xxxxx.com:8444/webdialer/Webdialer?destination=123456789" -O mypage.html
 
Old 06-16-2009, 10:31 AM   #7
DoME69
Member
 
Registered: Jan 2008
Posts: 143

Original Poster
Rep: Reputation: 15
what is the file mypage.html ?
 
Old 06-16-2009, 10:38 AM   #8
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
the output (saved) file. name it whatever you want.
 
Old 06-17-2009, 02:26 AM   #9
DoME69
Member
 
Registered: Jan 2008
Posts: 143

Original Poster
Rep: Reputation: 15
This is not good for me.

i dont want it to write it to file
i want it to load the site.
 
Old 06-17-2009, 07:46 AM   #10
giftlftr_23
Member
 
Registered: Oct 2008
Location: I live where I'm currently standing on
Distribution: fedora, opensuse
Posts: 34

Rep: Reputation: 17
Quote:
Originally Posted by DoME69 View Post
This is not good for me.

i dont want it to write it to file
i want it to load the site.
What do you mean by "load the site"?
You could download the html first then load it by opening it as a file.
 
Old 06-17-2009, 10:08 AM   #11
DoME69
Member
 
Registered: Jan 2008
Posts: 143

Original Poster
Rep: Reputation: 15
this web is at my company.
after loading this site it call to my cell phone

that why i need lynx to load this file and not output data to file.
 
Old 06-17-2009, 01:16 PM   #12
grepmasterd
Member
 
Registered: Aug 2003
Location: Seattle
Distribution: ubuntu, lately
Posts: 182
Blog Entries: 1

Rep: Reputation: 35
there is little that 'lynx' can do that 'wget' cannot also do. 'curl' is also a useful utility. however, you are not clear about your needs. From your original post:

Code:
lynx -minimal -source "$URL"
all this does is to dump the source to stdout (on your screen). To mimic this with 'wget' or 'curl' :

Code:
# use '-' to write to stdout
wget -q "$URL" -O -
or

Code:
# writes to stdout by default
curl "$URL"
you will get the same result with any of these commands, and wget and curl have much better support for SSL. If this does not address your needs then be more clear with what you are trying to do.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ns:"error when calling class OldSim"&tclsh:"invalid command+child process exits abn." shojaru Linux - Newbie 0 03-05-2009 05:23 AM
Command "mail" returns "panic: temporary file seek" kenneho Linux - Software 5 12-23-2008 04:27 AM
Feeding the output of "diff" or "cat" command to dpkg --purge kushalkoolwal Debian 9 06-19-2008 08:27 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
yum "urlerror timeout" in FC6 even when lynx works anirudh.iitm Fedora 1 03-17-2007 10:53 PM


All times are GMT -5. The time now is 04:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration