User Tools

Site Tools


pub:idocsapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
pub:idocsapi [2021/01/25 11:27] – [iDocs Programming API] kkramerpub:idocsapi [2021/01/25 12:01] – [ESNDFILE] kkramer
Line 120: Line 120:
  
 ---- ----
 +===== ESNDFILE =====
 +
 +A new command ESNDFILE is introduced in iDocs 6.97 to send a file or folder from the IBM i to a SFTP server using Password authentication.
 +<html><pre>
 +                     Send IFS File to SFTP server (ESNDFILE)                    
 +                                                                                
 + Type choices, press Enter.                                                     
 +                                                                                
 + SFTP server  . . . . . . . . . .   'tdgtest.ocr-inc.com'                       
 +                                                                                
 + Authentication User ID . . . . .   testID                                      
 +                                                                                
 + Authentication Password  . . . .                                               
 +                                                                                
 + Port . . . . . . . . . . . . . .   22            Number                        
 + IFS Local Path . . . . . . . . .   '/home/anguyen/awtest.txt'                  
 +                                                                                
 +                                                                                
 +                                                                                
 + Remote folder  . . . . . . . . .   '/QBND'                                     
 +                                                                                
 +                                                                                
 +                                                                                
 + Overwrite  . . . . . . . . . . .               Y, N                          
 +                                                                         Bottom 
 + F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
 + F24=More keys                                                                  
 +</pre></html>
 +
 +SFTP supports 2 methods of authentication:
 +
 +  * SSH Key authentication
 +  * Password authentication
 +Our IBRIDGE utility sends file using SSH Key and sends as a PDF file only
 +
 +ESNDFILE sends file using Password authentication: the server will authenticate the client by the submitting username and password from client.
 +
 +**Parameters:** 
 +SFTP server \\
 +Authentication User ID \\
 +Job name/User Name/ Job Number: job ID of input spool \\
 +Authentication Password \\
 +Port number \\
 +IFS local path \\
 +Remote folder \\
 +Overwrite (Y/N) \\
 +
 +
 +Result on SFTP Server: \\
 +{{:pub:idocs:esndfile001.png?600|}}
 +----
 +
 <html>&#091;</html>[[start#idocs | Up to Main Menu ]]<html>&#093;</html> <html>&#091;</html>[[start#idocs | Up to Main Menu ]]<html>&#093;</html>
  
pub/idocsapi.txt · Last modified: 2023/07/25 13:08 by kkramer