4D Internet Commands v14FTP_Logout | 
            ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
                    
                        
    
    
                         | 
                
                    
                         
    4D Internet Commands v14
 
FTP_Logout 
                                
                                
        
 | 
                |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| FTP_Logout ( ftp_ID ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| ftp_ID | Longint | 
             
         | 
        Reference to a FTP login | |||||
             
         | 
        0 = session successfully closed | |||||||
| Function result | Integer | 
             
         | 
        Error Code | |||||
Given a reference to an open FTP session, the FTP_Logout command will disconnect from the server and free any memory used by the session. This command will return the value of zero into the ftp_ID parameter upon successful close of the session.
ftp_ID is the long integer reference to the FTP session established with FTP_Login.
 If(FTP_Login("ftp.4d.com";"anonymous";vEmailID;vFTP_ID;vFTP_Msg)=1)
    $error:=FTP_Send(vFTP_ID;"My Hard Drive:Documents:Sales Report";"/pub/reports";1)
    $error:=FTP_Logout(vFTP_ID)
 End if
	Product:  4D Internet Commands
	Theme:  IC File Transfer
	Number:  
        88935
        
        
        
	
	Created:  4D Internet Commands 6.5
	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)