tags:

views:

468

answers:

4

Hi,

I am sending files from a windows system to a Unix SFTP server using JSCAPE ftp client. However, I am experiencing the following issue: When uploading a text file from windows to UNiX, each line of text files transferred contains Control-M characters. I did some search and found out that If I use the "ASCII" transfer mode it should solve the issue. But the Ctrl-M is still appearing on the files.

Can anyone throw some light in this issue?

thanks in advance

A: 

That's the newline character from windows files showing up on UNIX system.

Convert the line endings prior to uploading or find a different FTP server package that can do it for you.

Nerdling
A: 

How can I convert it prior to uploading if I am using a windows system?

You can make edits to your original question. It is not necessary to post additional information as an "answer".
Albert
A: 

Some text editors have this functionality built in. For instance, Notepad++

Do you have cygwin? You can use the dos2unix utility.

Albert
A: 

The following posts on JSCAPE forums addresses this issue :

http://forums.jscape.com/showthread.php?t=361

Best Regards,