From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,58d64677f09c7432 X-Google-Attributes: gidfee84,public From: Alan Hughes Subject: Re: Problem with DOS files tranfered to UNIX Date: 1997/04/17 Message-ID: <3355C7EB.7382@vega.co.uk>#1/1 X-Deja-AN: 235386968 X-NNTP-Posting-Host: dcollins.vegauk.co.uk References: <33512C65.7450@greennet.gl> Organization: VEGA Group PLC Reply-To: alan.hughes@vega.co.uk Newsgroups: comp.unix.osf.osf1 Kaj Stengade Christensen wrote: > > Hi > > I am having 2 problems with files that is tranfered from a DOS system to > my UNIX system. > > 1. When i tranfer DOS text files to UNIX there is a ^M in the end of all > lines (carige return). I was wondering is there is a utility that can > remove this from the file and where i can get the utility. Before you transfer your files, set your FTP system into ASCII mode (use the ascii sub-command); DOS uses CRLF sequences to indicate an end-of- line, while UNIX uses CR, FTP will convert if set into this mode. > 2. I am using CuteFTP to tranfer files from DOS to UNIX and when i do > this alle the files in is uppercase, and i need them in lowercase. Is > there a utility in OSF/1 to convert the filenames or where can i get a > program / script that can do this. > Anyone else know? The problem is that all DOS filenames are stored in uppercase (converted by DOS when it creates the file), so FTP is doing the correct thing here. > I am using an Alpha 2100 running OSF/1 ver. 3.2C > > Any help will be appreciated. > > Thanks > Kaj Stengade Christensen > System administrator Nukissiorfiit Greenland. > kc@greennet.gl