Hi All.
Researching how Copy multiple files from local folder to AWS S3 via appeon-pb (2019) script.
Looks like there is a few options
Have anyone done it?
Thank you.
Sincerely
Vlad
Hi All.
Researching how Copy multiple files from local folder to AWS S3 via appeon-pb (2019) script.
Looks like there is a few options
Have anyone done it?
Thank you.
Sincerely
Vlad
It looks like you should be able to use FTP, which would probably be the easiest way. As Mike mentioned, you could possibly use REST also. Roland has a nice FTP utility that works great with PB. Links below:
https://www.topwizprogramming.com/freecode_ftpclient.html
REST is your best option.
I have not done this for AWS S3, but i have for Azure blob. Same general idea. Kevin Ridley also did a rest based upload to dropbox: Using Dropbox REST API from PowerBuilder - YouTube His presentation uses Oath, which is a bit harder than the S3 auth requirements.
The worst part is getting the list of all files from a directory. You either have to do the visual listbox that is native in pb (this really needs improved), or use api calls to do it.
Will FTP do it better? For filecopy, I think FTP is required, which is available in PB 2022.
Happiness Always
BKR Sivaprakash