Topic Path: Pending > TIdGopher.GetTextFile@String@TStream@Boolean@String
ContentsIndexHome
PreviousUpNext
TIdGopher.GetTextFile@String@TStream@Boolean@String

Retrieves a Gopher text 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 ''. 

GetTextFile is a procedure used to retrieve a Gopher Text 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 GetFile method because GetTextFile will stop reading if it encounters the "." end of text file marker.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.