[Ilugc] Need Linux Equavalent to windows winHttp

  • From: girishvenkatachalam@xxxxxxxxx (Girish Venkatachalam)
  • Date: Tue Mar 25 16:37:23 2008

On 16:09:18 Mar 25, Anumolu Sudheer wrote:

Microsoft Windows HTTP Services (WinHTTP) provides developers with an
HTTP client application programming interface (API)
 to send requests through the HTTP protocol to other HTTP servers.

As someone said curl can do this.

a) curl
http://curl.haxx.se

wget can as well.

b) wget
www.gnu.org/software/wget/

And so can lftp.

c) lftp
http://lftp.yar.ru/

I have had to do this long long ago and I found curl to be quite useful.
You can even store and send the auth cookie in the header thereby
simulating a user's logged in session.

Look for curl's '-H', '-A' and '-b' switches.

WinHTTP supports desktop client applications, Windows services, and
Windows server-based applications.


What are these?

I hope Apache is a web server application and not suitable for my requirement.


Correct.

Please let me know if any more ideas.


curl is very powerful and you can write any application that uses HTTP,
FTP and several other protocols.

It also lends to easy scriptability.

Whereas tools like wget and lftp are geared towards end user.

Best of luck!

Welcome to the wonderful world of UNIX. :)

-Girish

Other related posts: