Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.TZInfo Property

Provides access to timezone information for the remote FTP server.

Pascal
property TZInfo: TIdFTPTZInfo;

TZInfo is a TIdFTPTZInfo property used to store timezone information for the remote FTP server. TZInfo provides access to the offset from GMT (UTC) when its GMTOffsetAvailable property contains True. 

Properties in TZInfo are updated when the control channel for the client session is established in the Connect method. If the server implementation supports the FTP SITE ZONE command, the server response to the command is parsed and stored in the GMTOffset and GMTOffsetAvailable properties in TZInfo. 

TZInfo is used in SetModTime and SetModTimeGMT when updating the last modification time for a file on the remote file system. 

Resources required for the TZInfo property are allocated in during initialization of the component, and freed in the Destroy destructor.

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.