Extra CR on lines in a textfile.
When transmitting files to a remote site with WINSCP we get extra code by the end of each line. They are ordinary .txt-files and should not be affected at all. We send with ftps. When the files get to the receiver, every single row (i e record) ends with CR LF CR (or 0d0d0a). Does not matter whether we use binary, ascii or automatic transfer. Enclose command we use for transmitting:
option confirm off;option batch abort;option transfer ascii;open ftp://ZXXXSS:SSSBBYY@ftps.receiver.se:21 -certificate="certificate given but not to show" -passive -explicitssl;CD ../in;PUT %MESSAGE FIKS_A793802.TXT;CLOSE;EXIT;
We have tried to use option transfer binary and no option for transfer but the result is still the same. The file is send and received, so that is not a problem.
/Anna
option confirm off;option batch abort;option transfer ascii;open ftp://ZXXXSS:SSSBBYY@ftps.receiver.se:21 -certificate="certificate given but not to show" -passive -explicitssl;CD ../in;PUT %MESSAGE FIKS_A793802.TXT;CLOSE;EXIT;
We have tried to use option transfer binary and no option for transfer but the result is still the same. The file is send and received, so that is not a problem.
/Anna