GeoCOM Reference Manual
File Transfer - FTR
Leica TPS1200 – Version 1.50
118
Modification date
struct FTR_MODDATE
{
BYTE ucDay; // UTC date, day
BYTE ucMonth; // UTC date, month
BYTE ucYear; // UTC date, year
};
Directory info
struct FTR_DIRINFO
{
char szFileName[81];
unsigned long ulFileSize;
FTR_MODTIME ModTime;
FTR_MODDATE ModDate;
};
13.3
FUNCTIONS
13.3.1
FTR_SetupList – Setup list
AUT_ReadTol .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 9008
9009
.................................................................................................................................................
AUT_ReadTol
C-Declaration
FTR_SetupList(FTR_DEVICETYPE eDeviceType, FTR_FILETYPE eFileType,
char *szSearchPath)
VB-Declaration
VB_FTR_SetupList(DeviceType As Long, FileType As Long,
ByVal SearchPath As String)
Request
%R1Q,23306:
eDeviceType
,
eFileType,szSearchPath
ASCII-Response
%R1P,0,0:
RC
Remarks
This command sets up the device, file type and search path. It has to be called before command FTR_List can be
used.
Parameters
eDeviceType in
Device type.
eFileType in
File type.
szSearchPath in
Search path. Optional. Must be specified if file type is
FTR_FILE_UNKNOWN.
Return-Codes
GRC_OK
0 Execution
successful.
GRC_IVPARAM
2
Device not available or can not get path.
GRC_NOTOK
26
Setup already done or FTR_AbortList() not called.
GRC_FTR_FILEACCESS
13056
File access error.
See Also
FTR_List
FTR_AbortList
Example
See FTR_List