1. Sylvain .
  2. PowerBuilder
  3. Tuesday, 31 December 2019 21:26 PM UTC

PowerBuilder Universal  2019 

We are in the process to use AWS S3 for our file server, I presume that to access it from within PB we will need to use the REST, JSON or other objects.
 
Does anyone know about a good document or link for some examples that will help us do this the proper way, an example written in PB that show how to access AWS S3 would be of course the best.
 
Or any other idea that could help us.
 
TIA
Sylvain
 
Who is viewing this page
mike S Accepted Answer Pending Moderation
  1. Tuesday, 31 December 2019 22:28 PM UTC
  2. PowerBuilder
  3. # 1

you can access using their REST api using the native PB REST client.   I did it for azure blob services and it is generally the same idea.

https://docs.aws.amazon.com/AmazonS3/latest/API/Welcome.html

this is the put api:

https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html

 

You said you will be using as a 'file server', so that means to me that you will have file level access instead of using their native blob access?  If so, then use it as a file service - I believe there are also third party drivers that allow aws S3 to look like a local drive.  

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 31 December 2019 21:48 PM UTC
  2. PowerBuilder
  3. # 2

Hi Sylvain;

  FYI:  https://www.example-code.com/powerbuilder/amazonS3.asp

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.