Command FTP_GetType

4D Internet Commands

FTP_GetType

version 6.5


FTP_GetType (ftp_ID; ftp_Mode) Integer

ParameterTypeDescription
ftp_IDLongintReference to a FTP login
ftp_ModeString"A" = Ascii; "I" = Image; "L 8" = Logical 8-bit

Function result Integer Error Code

Description

The FTP_GetType command returns information about the current FTP Transfer mode. The Transfer mode may be set using the FTP_SetType command.

ftp_ID is the long integer reference to the FTP session established with FTP_Login.

ftp_Mode returns a code describing the current FTP transfer mode.

See Also

FTP_SetType.