Copy a stream file from the IFS to Sharepoint

Any IBM i topic that does not fit in another forum
Post Reply
phg
Posts: 1
Joined: Fri Aug 04, 2023 8:11 am

Copy a stream file from the IFS to Sharepoint

Post by phg »

looking to use an API to copy a stream file from the IFS to Sharepoint.
Any examples please?
jonboy49
Posts: 206
Joined: Wed Jul 28, 2021 8:18 pm

Re: Copy a stream file from the IFS to Sharepoint

Post 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.
Post Reply