Question

Line Break and Spaces at the end of File get removed

  • 16 May 2022
  • 1 reply
  • 85 views

Userlevel 1
Badge +7

Hello, 

There is a requirement to create a  Payment File and write it to a  SFTP/FTP Location.  As per the format , footer  ( last  Line )   of the file should have 40 spaces . 

Generated file using standard Method Plsqlap_Server_API.Post_Outbound_Message  , Routing Address , Routing Rules and Connect Sender ( FTP/SFTP) .      

Line Breaks and the 40  Spaces  are there in the Application Mesasge  however  there are missing  on the  File  generated in the SFTP/FTP Location.   Used WinSCP/FileZilla  to download file.

Could it be “Connect Sender” trimming the spaces and CR+LF at the end if File ? 

Thanks

Bhagya

 


1 reply

Userlevel 3
Badge +7

G’day! Did you get to the bottom of this? I have a similar problem, but using the File connector, and it seems to strip out line breaks in 22R1.

Reply