× 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...

FTP and SFTP issue

  • umair.jamal
  • Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 11 months ago #19412 by umair.jamal
FTP and SFTP issue was created by umair.jamal
In our Live environment, we are running the service that read a text file placed in specific folder at FTP and its works fine and post transaction in T24 successfully, the same service is executing from our DR Site Server with SFTP rights enabled so we are experiencing an issue when the service is executing from this location with SFTP it doesn't post transaction.

We assume that this is SFTP protocol issue that doesn't allow to post message in correct format. How to resolve this issue???

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
7 years 10 months ago #19413 by armin
Replied by armin on topic FTP and SFTP issue
What messages do you receive for the FTP - any login issues?

using R11 on Unix

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

  • umair.jamal
  • Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 10 months ago #19414 by umair.jamal
Replied by umair.jamal on topic FTP and SFTP issue
there is no login issues, the FTP works fine, but the issue is with SFTP from DR site location from where the service is not posting transaction in correct format.

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
7 years 10 months ago #19415 by armin
Replied by armin on topic FTP and SFTP issue
A bit more details would help to understand your problem . . .

using R11 on Unix

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

  • umair.jamal
  • Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 10 months ago #19418 by umair.jamal
Replied by umair.jamal on topic FTP and SFTP issue
We have a routine that is attached in a BATCH, when this service executes it reads a .txt file from specific folder of FTP and post transaction in T24 in MF .ORDER application
We use FileZilla client to place files at FTP. The service works fine in our live area with FTP rights enabled.

Same service is running at DR site but with SFTP rights enabled because the FTP rights are no further provided due to this issue when the service executes from this area it will not post transaction in correct format .

Hope you will understand..

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
7 years 10 months ago #19419 by armin
Replied by armin on topic FTP and SFTP issue
No - not really.
What do you mean by

will not post transaction in correct format

?
Is it due to transferring the file in wrong format (binary / ASCII) or with wrong end-of-line ??

using R11 on Unix

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

  • umair.jamal
  • Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 10 months ago #19420 by umair.jamal
Replied by umair.jamal on topic FTP and SFTP issue
yes, with wrong end of line....

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
7 years 10 months ago #19422 by armin
Replied by armin on topic FTP and SFTP issue
So try transferring in binary mode, that should preserve the correct EOL.

using R11 on Unix

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
7 years 10 months ago #19449 by armin
Replied by armin on topic FTP and SFTP issue
Any result ?

using R11 on Unix

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

  • umair.jamal
  • Topic Author
  • Offline
  • User is blocked
  • User is blocked
More
7 years 10 months ago #19455 by umair.jamal
Replied by umair.jamal on topic FTP and SFTP issue
No, still not resolve..

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

  • armin
  • armin's Avatar
  • Offline
  • Elite Member
  • Elite Member
  • “So long - and thanks for all the fish!”
More
7 years 10 months ago #19456 by armin
Replied by armin on topic FTP and SFTP issue

using R11 on Unix

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

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 10 months ago #19494 by VK
Replied by VK on topic FTP and SFTP issue
Hi
if nothing can be done at file transfer level, try to correct things at the service routine.
Does it use READSEQ or reads the whole file?
I believe the solution can be done for both cases.

Cheers
VK

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

Time to create page: 0.148 seconds