Focal Point
[SOLVED]FTP file in CSV creating blank lines

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1407052386

July 29, 2016, 11:59 PM
Rejoice
[SOLVED]FTP file in CSV creating blank lines
When we upgraded from 8.0.7 to 8.1.5. we noticed that the FTP file from Report Caster in CSV format is creating a blank line on every record. The email version of the csv file is OK, no blank lines. Any idea what's causing this issue in Report Caster?

Please advise

This message has been edited. Last edited by: <Emily McAllister>,


Webfocus 8
Windows, All Outputs
August 03, 2016, 10:35 AM
Tamra
Rejoice,

Does the CSV file have a blank line between the records, this could be a carriage control line feed character?

What server is this being FTP'd to?

Thank your for participating in the Focal Point Forum,
Tamra Colangelo
Focal Point Moderator
Information Builders


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
August 05, 2016, 02:31 PM
Rejoice
Yes, the CSV file has a blank line between records. We are using Report Caster SFTP and not FTP. The Reporting server and the SFTP server are both running in Linux.

The weird thing is if I choose the Compress/Zip/Gzip instead of NONE option, the compressed file in CSV format is correct.

Thank you.


Webfocus 8
Windows, All Outputs
August 05, 2016, 04:59 PM
dhagen
Depending on the SFTP software, it is probably adding a carriage return to each line in ASCII mode. Switch to binary mode to do your transfers.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
August 05, 2016, 05:36 PM
Rejoice
Thank you for your reply. Where do you switch it?

Note that the Email method works fine for CSV format both in WF 8.0.7 and 8.1.5 version. This SFTP method issue in the 8.1.5 version is not a problem at all in 8.0.7 version. Both are using the same SFTP server.


Webfocus 8
Windows, All Outputs
August 10, 2016, 07:51 AM
Tamra
Rejoice,
Please ask your internal techsupport team. Possibly, your SFTP software has changed?

Thank your for participating in the Focal Point Forum,
Tamra Colangelo
Focal Point Moderator, Information Builders


WebFOCUS 8x - BI Portal, Developer Studio, App Studio, Excel, PDF, Active Formats and HTML5
August 10, 2016, 12:57 PM
Rejoice
Our SFTP software did not change as we are using the same SFTP server both for the new WF 8.1.5 and the oldWF8.0.7. Why would it work in 8.0.7 but not in 8.1.5? Because of this we decided to move our reports using the SFTP method back to WF 8.0.7. BTW, we opened an IBI ticket for this issue but have not gotten a reply back from them yet. I'm just curious if there is anybody out there on WF 8.1.5 version and has reports using the Report Caster SFTP method.


Webfocus 8
Windows, All Outputs
August 11, 2016, 08:34 AM
jgelona
This may not be an answer for you but I found it easier to HOLD the output in a folder on the reporting server and do my own ftp/sftp scripts.

This way, if for some reason the ftp/sftp fails (say the receiving systems is down), I still have the output file and can manually send it later.


In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
August 11, 2016, 05:24 PM
Rejoice
Yes, I tried creating a hold file in csv format and manually scp it to the SFTP server. It works fine, no blank lines. Obviously then the issue is on the Report Caster distribution using SFTP method which produces blank line between records in CSV file.

As a workaround, since a lot of our reports are already set up to use the Report Caster SFTP method, we decided to keep it that way and write a script instead to clean up the transferred CSV file in our SFTP server


Webfocus 8
Windows, All Outputs