1. Tóth Dávid
  2. PowerServer Mobile (Obsolete)
  3. Monday, 12 February 2018 10:32 AM UTC

Hello everyone!

In my ultimate despair i came here to ask u about using FTP in powerbuilder mobile. I search a solution everywhere with no success.

My problem is that i want to upload to and download from a FTP server. It's all. I can't find any function or anything else. Of course this would be an offline application so i don't want to use the "Mobile Server" to solve this problem.

 I hope someone can help me. Thank you!

Best regards:

David

Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Monday, 12 February 2018 18:32 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 1

Hi Tóth Dávid,

 

I agree with Marco. You can open a support ticket to request a feature enhancement for the Cordova FTP plugin to be added.

 

 

Regards,

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 12 February 2018 14:40 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 2

Hi David;

   Another alternative is to use the "of_appeonupload" method of the appeonfileservice object class. This could take your Mobile device file and deliver it from your device to PowerServer's File Server feature on the server where its running. From there, you could re-route this uploaded file to any other FTP destination. Conversely, external data loaded onto PowerServer's File Server area could then be downloaded to the Mobile device using the "of_appeondownload" method.

  Food for thought.

 HTH

Regards ... Chris

Comment
  1. Marco Meoni
  2. Monday, 12 February 2018 16:09 PM UTC
just be aware Appeon File Service uses HTTP, not FTP.



And it does need the Powerserver.



Cheers,



Marco

  1. Helpful
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Monday, 12 February 2018 14:16 PM UTC
  2. PowerServer Mobile (Obsolete)
  3. # 3

Hi David,

FTP support in PB is historically done through wininet, which is of course not available in mobile apps.

The usual workaround in a PowerServer Mobile setup is to wrap wininet into a PB NVO and deploy it as a .NET WebService. Then you can call the WS using the AppeonWebserviceComponent object or a WS Datawindow. 

Unfortunately, if you even need to make your app offline, PSM can’t help you and the only solution left would be to use the cordova-plugin-ftp plugin, which however is not yet among the plugins packaged into Appeon. If this last solution suits you, you may want to open an Appeon ticket of feature enhancement.

Cheers,

Marco

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.