pub:idocsapi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
pub:idocsapi [2020/01/22 08:47] – [IFDUPSPLF] kkramer | pub:idocsapi [2021/01/25 12:01] – [ESNDFILE] kkramer | ||
---|---|---|---|
Line 3: | Line 3: | ||
- | ====== iDocs Programming API ====== | + | ====== iDocs Programming API' |
iDocs has various methods to automatically print forms that are deposited in output queues. | iDocs has various methods to automatically print forms that are deposited in output queues. | ||
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. | ||
+ | < | ||
+ | Send IFS File to SFTP server (ESNDFILE) | ||
+ | | ||
+ | Type choices, press Enter. | ||
+ | | ||
+ | SFTP server | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Port . . . . . . . . . . . . . . | ||
+ | IFS Local Path . . . . . . . . . '/ | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | 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: | ||
+ | |||
+ | **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/idocsapi.txt · Last modified: 2023/07/25 13:08 by kkramer