0
Votes
Undo
  1. YU CHUN
  2. PowerBuilder
  3. Friday, 1 November 2019 03:16 AM UTC

PowerBuilder 2017 R3

How to download file using FTPS?

I need to download the file at a fixed time. 

 

Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Friday, 1 November 2019 03:27 AM UTC
  2. PowerBuilder
  3. # Permalink

If you're allowed by company policy, I would use powerbuilder's Run() command to run a cmd or batch file. That cmd file then uses psftp to do whatever you want to do:

https://www.puttygen.com/psftp

 

Or use some of TopWizprogramming ... Use https :// :

http://www.topwizprogramming.com/freecode_winhttp.html

 

not sure if this on is ftp only or also allows sftp:

http://www.topwizprogramming.com/freecode_ftpclient.html

 

not sure if there's other ways.

 

Comment
  1. Miguel Leeuwe
  2. Friday, 1 November 2019 03:31 AM UTC
To download the file at a fixed time, you can have a timer event checking every minute if it's time to do the download, but it would be better to just code a small application which you launch at a specific time with windows' task scheduler.
  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.