× Discuss on Template programming, jBASE programming, Enquiries, No-File enquiry, Enquiry routines, Version, Version routines, Menus, Abbriviations, Creating local reference fields, Fast path enquiries, Creating charts and graphs, Generating Reports, Deal slips, Straight through processing, Multi Company and Multi Book setup, Tabbed screens, Composite Screens, T24 API, etc...

Is it possible to execute ftp command using EXECUTE statement in TAFJ?

  • CryptoGuy
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 3

CryptoGuy created the topic: Is it possible to execute ftp command using EXECUTE statement in TAFJ?

Hello guys,

I'm trying to ftp some files using a subroutine in TAFJ, is it possible to use EXECUTE statement to do so? If not, is there any other way to do this?

Thanks.
#23089

Please Log in or Create an account to join the conversation.

  • Posts: 129
  • Thank you received: 8

silvergem replied the topic: Is it possible to execute ftp command using EXECUTE statement in TAFJ?

Maybe. If your using Java it is much eaasier
#23093

Please Log in or Create an account to join the conversation.

  • Posts: 129
  • Thank you received: 8

silvergem replied the topic: Is it possible to execute ftp command using EXECUTE statement in TAFJ?

Maybe. If your using Java it is much easier
#23094

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0

snkumar replied the topic: Is it possible to execute ftp command using EXECUTE statement in TAFJ?

Hello,

Yes, it is possible to perform the ftp using EXECUTE statement in TAFJ.
For Windows:

Try like this EXECUTE "dos -c": ftp whatever command" CAPTURING OUTPUT

For UNIX:

Try like this EXECUTE "SH -c ": ftp whatever command" CAPTURING OUTPUT

Try and let me know the results.
#23103

Please Log in or Create an account to join the conversation.

  • CryptoGuy
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 3

CryptoGuy replied the topic: Is it possible to execute ftp command using EXECUTE statement in TAFJ?

Hi,
Thanks for the reply, I've tried that in Windows env, but I get the below error:
Cannot find 'dos' (class : 'com.temenos.t24.dos_3_cl')
Should be there an INSERT or something so this command is recognized?
#23110

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • TAFC|R13|R19|R20
  • Posts: 790
  • Thank you received: 113

VK replied the topic: Is it possible to execute ftp command using EXECUTE statement in TAFJ?

Hi
I'm not sure that TAFJ allows execution of external programs or OS commands.

Why you want to do it under T24? Much easier to have an external tool that scans your folders and if a file appears there transfers it to the proper place?
#23111

Please Log in or Create an account to join the conversation.

Time to create page: 0.226 seconds