carriage return added to file on file transfer

Advertisement

CR-GUY
Guest

carriage return added to file on file transfer

i'm noticing that a carriage return is being added at the very end of all text files when i transfer a file from the PC to my host. is there anyway to fix this?

thanks

Reply with quote

Advertisement

Guest

Thanks for your reply. If i try binary mode i will get a carriage return after every line in the text file, ascii mode puts one carriage return at the end of the very last line of the text file. i've tested transfering that same text file with normal FTP and it doesn't add that carriage return. am i doing something wrong?

Thanks

Reply with quote

CR_Err
Guest

carriage return added to file on file transfer

martin wrote:

Can you mail an example of the file you are having problem with?

Could you please let me know if you were able to resolve as having same issue - Have changed Transmission mode to all 3 without success :?

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: Resolved?

Temistokles wrote:

Has the problem already been resolved? For me (version 4.1.7), it still exists.
Can you give me more details?

Reply with quote

sameer
Guest

Newline added even with transfer mode binary

I have a text file in windows that I am transferring to Linux using batch script. I have transfer option binary set but still a empty newline is added at the end of the file. Not sure how to deal with this?

I have tried with both winscp 5.5.5 and 4.2.7

Reply with quote

Advertisement

You can post new topics in this forum