LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 05:15 AM   #1
DoME69
Member
 
Registered: Jan 2008
Posts: 189

Rep: Reputation: 16
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, 07: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, 07:28 AM   #3
DoME69
Member
 
Registered: Jan 2008
Posts: 189

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

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

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

(this is work computer i cant do what ever i want)
 
Old 06-16-2009, 07: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, 09:31 AM   #7
DoME69
Member
 
Registered: Jan 2008
Posts: 189

Original Poster
Rep: Reputation: 16
what is the file mypage.html ?
 
Old 06-16-2009, 09: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, 01:26 AM   #9
DoME69
Member
 
Registered: Jan 2008
Posts: 189

Original Poster
Rep: Reputation: 16
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, 06: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, 09:08 AM   #11
DoME69
Member
 
Registered: Jan 2008
Posts: 189

Original Poster
Rep: Reputation: 16
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, 12: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



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 04:23 AM
Command "mail" returns "panic: temporary file seek" kenneho Linux - Software 5 12-23-2008 03:27 AM
Feeding the output of "diff" or "cat" command to dpkg --purge kushalkoolwal Debian 9 06-19-2008 07:27 AM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
yum "urlerror timeout" in FC6 even when lynx works anirudh.iitm Fedora 1 03-17-2007 09:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration