ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How to convert a text file from ASCII TO BINARY format.
Date Thu, 04 Sep 2003 12:02:06 GMT
First I thought there is a "AUTO" mode on <ftp>, ... but it isnĀ“t.
Can <fixcrlf/> help?


Jan


> -----Original Message-----
> From: Manav Ahuja [mailto:manav.ahuja@wipro.com]
> Sent: Thursday, September 04, 2003 1:55 PM
> To: Ant Users List
> Subject: How to convert a text file from ASCII TO BINARY format.
> 
> 
> Hi,
> 
> 	We need to transfer different type of files from WINDOWS system
> to UNIX system.
> File types includes executables, jars, text files. We are transferring
> all type of files
> In BINARY mode. But for text files we are having some problems. The
> problem is that the text
> Files are having `^M` character at the end of each line, once
> transferred to the UNIX system.
> To overcome this one solution is to transfer any text file (ASCII
> format) in ASCII mode and not 
> in BINARY mode. But we don't have the list of such text files.
> 
> 	We are currently using ANT script for BUILDING. So we want to
> know is there is any way
> To convert all those text files from ASCII to BINARY mode using ANT
> SCRIPT. Then we will be able
> To transfer all those text files even in BINARY or in ASCII mode and
> that won't introduce this
> `^M` character in those files.
> 
> 	Please send some details on the procedure or command to convert
> text files from ASCII to 
> BINARY mode using ANT SCRIPT.
> 
> Regards,
> Manav.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message