FTP_GetPassive

4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next

version 6.5.3 (Modified)


FTP_GetPassive (ftp_ID; passiveMode) Integer

ParameterTypeDescription
ftp_IDLongintReference to a FTP login
passiveModeIntegerCurrent data stream transfer mode
0=Active mode, 1=Passive mode
Function resultIntegerError Code

Description

The FTP_GetPassive command returns the current data stream transfer mode.

For more details about FTP transfer modes, refer to the FTP_SetPassive command description.

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

passiveMode returns the current data stream transfer mode:

if 0 is returned, the FTP Server is currently asked to work in Active mode.

if 1 is returned, the FTP Server is currently asked to work in Passive mode (default value).

See Also

FTP_SetPassive.


4D - Documentation   Français   English   German   Japanese   4D Internet Commands, Theme List   4D Internet Commands, Alphabetical List   Back   Previous   Next