Go Back > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 49

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 21st May 2008, 18:04
Join Date: Jul 2005
Posts: 2
ARUNSNAIR is on a distinguished road
Question Reading a file in different mode
Baan: Baan IVc4
C/S: None/Unknown

Actually i have a file which has been transferred into the baan server using SFTP and the file is in some different mode. As a result when i am trying to read this file using the seq.gets(), baan is not able to identify the line seprator and the eof() indicator gets reset.

What should i do to open this file and use it, so that te program logic doesn't change. I am also not thinking of using any convert programs etc due to the security concern of the company
Reply With Quote
Sponsored Links
Old 21st May 2008, 18:37
zardoz's Avatar
zardoz zardoz is offline
Join Date: Jan 2003
Location: Torino, Italy
Posts: 445
zardoz is on a distinguished road
Baan: Triton 2, Triton 3, Baan IV, Baan ERP, Baan LN - DB: Oracle, Tbase, MS Sql - OS: Unix, Windows
If the file is generated from windows and the transfer was in binary mode, the translation of CRLF characters is different on Unix systems.
You have to transfer it using ASCII mode.
If isn't possible to transfer it again from the original system, you can:

- transfer the file in any windows system using FTP binary mode
- transfer it again to Unix using FTP ASCII mode

This must correct the problem.

PS.: In unix are some commands that do this without using ftp, unfortunatly I havent this time access to unix system, search in unix for dos2unix command or something similar...
My company
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Question mr_suleyman Tools Development 37 11th November 2016 08:14
Undocumented Functions & Variables george7a Tools Development 81 30th September 2015 11:35
reading Ascii file rohan_rege Tools Development 8 3rd November 2006 03:02
Baan Performance Tracing Questions thomas_b Performance & Tuning 5 25th July 2005 11:22
Problems reading XML file. baanware Tools Development 4 2nd November 2004 12:37

All times are GMT +2. The time now is 22:10.

©2001-2018 - -