txt file contains ^M when it get transferred to linux server

Welcome to BestSync Support Forum!
If you have any questions, comments, concerns, suggestion, please summit here, we'll try to reply you in short time.
Thank you!
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: txt file contains ^M when it get transferred to linux server

Post by gracelim »

ok. will try
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: txt file contains ^M when it get transferred to linux server

Post by gracelim »

ok. will try
Marnesunita
Posts: 1
Joined: Mon Aug 24, 2020 10:21 am
Contact:

Re: txt file contains ^M when it get transferred to linux server

Post by Marnesunita »

Great share!
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: txt file contains ^M when it get transferred to linux server

Post by gracelim »

we have upgraded to that version and still encounter the problem

when the problem occur, it is consistent for the extra line to appear on particular rows for some files everytime it generated for the whole day if there is no addition/removal of records.
by next day, incase there additional / removal of records... this problem may or may not occur.. once it occurs, extra line will appear on that same row. again


example for abc.csv (windows) it will always appear row 1697, 9420,17613 etc,,,
AA-BI~AA-BI~.005~JPS1~ (line# 1696)
AA-BI~AA-BI~.005~JRC1~ (line# 1697)

when it get transferred to linux

AA-BI~AA-BI~.005~JPS1~ (line# 1696)
(liine# 1697) extra line
AA-BI~AA-BI~.005~JRC1~ (line# 1698)
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: txt file contains ^M when it get transferred to linux server

Post by gracelim »

extra line problem usually happens for 1mb and up file size.


any advise how to go about it?
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: txt file contains ^M when it get transferred to linux server

Post by gracelim »

correction it also happens to file size 50kbytes and up...
Rashimane
Posts: 1
Joined: Thu Sep 03, 2020 10:22 am
Contact:

Re: txt file contains ^M when it get transferred to linux server

Post by Rashimane »

Excellent sharing!
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: txt file contains ^M when it get transferred to linux server

Post by RiseFly »

We have tested BestSync severely related to the ASCII conversion (converting Windows Carriage-return code to Linux Carriage-return code) .
You must select "ASCII Mode" in "Transfer Mode" of "Advanced" setting of the FTP folder.
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: txt file contains ^M when it get transferred to linux server

Post by gracelim »

"ASCII Mode" in "Transfer Mode" of "Advanced" setting of the FTP folder was selected and it is still occurring from time to time.

the files being send are system generated using pl/sql script thus no user is editing it.
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: txt file contains ^M when it get transferred to linux server

Post by RiseFly »

If you find some files has the problem, may be this file are uploaded by an old version.
Please try to use the preview of the task, modify the synchronization-action to upload, upload the files again to see if the problem can be resolved.
Post Reply