4D Internet Commands v14

FTP_GetPassive

Home

 
4D Internet Commands v14
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 Internet Commands
Theme: IC File Transfer
Number: 88893

 
HISTORY 

Modified: 4D Internet Commands 6.5.3

 
SEE ALSO 

FTP_SetPassive

 
ARTICLE USAGE

4D Internet Commands ( 4D Internet Commands v11.4)
4D Internet Commands ( 4D v13.2)
4D Internet Commands ( 4D Internet Commands v12.1)
4D Internet Commands ( 4D Internet Commands v14 R2)
4D Internet Commands ( 4D Internet Commands v14)
4D Internet Commands ( 4D Internet Commands v14 R3)
4D Internet Commands ( 4D Internet Commands v14 R4)