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:44] – [ESNDFILE] kkramerpub:idocsapi [2021/01/25 12:01] – [ESNDFILE] kkramer
Line 122: Line 122:
 ===== ESNDFILE ===== ===== ESNDFILE =====
  
-Quick utility to duplicate a SCS spool file and change the owner on the new file. Original and new owner must both reside in the System Directory. This command was named DUPSPLF initially but changed to IFDUPSPLF in version 6.83 to ensure that it’s unique on all customer systems.+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> <html><pre>
                      Send IFS File to SFTP server (ESNDFILE)                                          Send IFS File to SFTP server (ESNDFILE)                    
Line 149: Line 149:
 </pre></html> </pre></html>
  
-**Parameters:** +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 \\ SFTP server \\
 Authentication User ID \\ Authentication User ID \\
Line 160: Line 167:
 Overwrite (Y/N) \\ 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