1. CJ Lai
  2. PowerBuilder
  3. Thursday, 28 May 2020 13:38 PM UTC

Hi

What is the best and/or cost-effective (least coding) method to move files between PB web and a file server?

PB Web Service? PB File Service? HTTPClient?

Any tutorial or documentation or instructions would be appreciated.

Thanks!

Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 28 May 2020 16:38 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi CJ;

   FWIW: I use PowerServer's FTP feature to accomplish that task.

FYI: https://docs.appeon.com/appeon_online_help/pb2019/workarounds_and_api_guide/ch01s03s04.html

HTH

Regards ... Chris

Comment
  1. CJ Lai
  2. Monday, 1 June 2020 16:17 PM UTC
Chris, should we code in those appeonfileservice functions ourselves? of_appeonUPload and of_appeonDOWNload functions in AppeonFileService user object in the workarounds PBL have nothing but a return value. Am I looking at some wrong version? Thanks!
  1. Helpful
  1. Chris Pollach @Appeon
  2. Monday, 1 June 2020 18:24 PM UTC
Hi CJ;

Yes, you need to instantiate the "appeonfileservice" object class first and then call either the "of_appeonUpload" or "of_appeonDownload" method as required. Both methods return you a value that you can check for a successful operation.

Regards ... Chris
  1. Helpful
  1. CJ Lai
  2. Monday, 1 June 2020 18:38 PM UTC
I got your response in other posts. Thanks!
  1. Helpful
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.