Page 1 of 1

Copy a stream file from the IFS to Sharepoint

Posted: Fri Aug 04, 2023 8:15 am
by phg
looking to use an API to copy a stream file from the IFS to Sharepoint.
Any examples please?

Re: Copy a stream file from the IFS to Sharepoint

Posted: Fri Aug 04, 2023 2:40 pm
by jonboy49
Not familiar with Sharepoint but it appears to offer REST services which could be used to upload such files.

You could invoke them from RPG for example by using IBM's IWS or my preferrred option which is Scott's HTTPAPI. You may also be able to do it by using the new SQL capabilities buty I'm not familiar with them.

Scott's HTTPAPI package includes examples of file upload/download capabilities. If you haven't already downloaded it I highly recommend that you do so.