4D v13.2

FTP_GetPassive

Home

 
4D v13.2
FTP_GetPassive

FTP_GetPassive 


 

FTP_GetPassive ( ftp_ID ; passiveMode ) -> Function result 
Parameter Type   Description
ftp_ID  Longint in Reference to a FTP login
passiveMode  Integer in Current data stream transfer mode 0=Active mode, 1=Passive mode
Function result  Integer in Error Code

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).

 
PROPERTIES 

Product: 4D
Theme: IC File Transfer
Number: 88893

 
INDEX

Alphabetical list of commands

 
HISTORY 

Modified: 4D Internet Commands 6.5.3

 
SEE ALSO 

FTP_SetPassive