Connect and Get

Giganews Newsgroups
Subject: Connect and Get
Posted by:  Alan (alanpltseNOSP…@yahoo.com.au)
Date: Mon, 24 Apr 2006

My office server has a URL such as office.mycompany.com which maps to a
directory of the machine.

So I use
IdHTTP1.Connect('office.mycompany.com');
IdHTTP1.Get('office.mycompany.com\mypicture.jpg');

I got an exception:
EIdUnknownProtocol with message ".

How do I know I connected successfully and why this error came up ?
I did not set any property of the TIdHTTP component.

Replies