1. michael ben ishay
  2. PowerBuilder
  3. Tuesday, 11 April 2023 12:11 PM UTC

Hi

II'm trying to download files from Dropbox In  pb app.

I tried to use the rest api, as was demonstrated on Kevin's webinar.

That works well, but the access token used is temporary only... And expires. 

How can I code a script for that, but with a permanent code that does not expire?

I guess that should be the most usabale form since powerscript code should be automated and not rely /ask for newly refresh token every session.

Thanks

Michael 

Roland Smith Accepted Answer Pending Moderation
  1. Tuesday, 11 April 2023 13:00 PM UTC
  2. PowerBuilder
  3. # 1

It wouldn't be very secure if the token lasted forever.

Comment
  1. michael ben ishay
  2. Tuesday, 11 April 2023 14:29 PM UTC
I have no problem with the security.

The app has a login and password, and log activity.

It's the same as mail user password login.



And the access should be to a specific location.



I don't see how access to Dropbox files can be of any use, and can be done "behind the curtains" if it requires a newly access token every session with another tedious authentication.



Any way a solution would be very appreciated.

Thanks



  1. Helpful
  1. Armeen Mazda @Appeon
  2. Tuesday, 11 April 2023 17:51 PM UTC
I would suggest you check with Dropbox whether they support token that never expires or not. If Dropbox doesn't support what you want to do there is nothing from PowerBuilder side can fix Dropbox security restriction.
  1. Helpful
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.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.