Internet Direct (Indy)
Home
PreviousUpNext
TIdGopher.GetFile@String@TStream@Boolean@String

Retrieve a Gopher Binary File.

Parameters 
Description 
ASelector 
the selector used to retrieve the file.
 
ADestStream 
DEstination for the retrieved file.
 
IsGopherPlus 
Server supports Gopher+. Default value is False.
 
AView 
Alternate view listed. Default value is ''. 

GetFile is a procedure used to retrieve a binary Gopher File and store its content in ADestStream. ISGopherPlus should be set to True for Gopher+ servers, or False for non-Gopher+ servers where a file name can start with "+". AView is an alternative view listed for the file you are retrieving with Gopher+. 

If you are retrieving a text file, use the GetTextFile method because GetFile will include the "." end of text file marker.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.