The “FTP” license extension is mandatory.
The LNCFTP command "allows to address a FTP server from a CL client program, on AS400 side.
It calls the various functions of the LNCFTP DLL.
The command performs the following actions :
• open connection with the Launcher server
• management of the SSL connection or not
• send commands to the FTP server
• get data from the FTP server
• close connection with the Launcher server
An application on IBM I commands receiving/sending files from/to an FTP server, or send commands to the FTP server securely.
For this, the Secure FTP protocol (FTP over TLS/SSL) is used.
The use of SSL allows to require the use of a Certificate to secure communication between client and server.
Parameters
| 
   FTP server  | 
  
   RMTSYS  | 
  
   
  | 
 
| 
   Port  | 
  
   PORT  | 
  
   
  | 
 
| 
   Secure connection  | 
  
   SECCNN  | 
  
   
  | 
 
| 
   FTP user  | 
  
   USER  | 
  
   
  | 
 
| 
   FTP password  | 
  
   PWD  | 
  
   
  | 
 
| 
   FTP command  | 
  
   CMDFTP  | 
  
   
  | 
 
| 
   Remote path  | 
  
   SRVPATH  | 
  
   
  | 
 
| 
   Local path  | 
  
   LOCALPATH  | 
  
   
  | 
 
| 
   LAUNCHER server  | 
  
   EXESRV  | 
  |
| 
   End option  | 
  
   ENDOPT  | 
  
Example
LNCFTP RMTSYS('milan01') PORT(990) SECCNN(*SSL) +
USER(aura) PWD(aura) CMDFTP(*MKDIR) +
SRVPATH(CED) EXESRV('192.168.15.84') +
ENDOPT(*NONE)