From: Mario Zimmermann <mzi2sn@sn0967.sn.bosch.de>
Subject: ftp ascii instead of bin??
Date: 1998/08/27 [thread overview]
Message-ID: <6s3m8g$q3b$1@news.fr.internet.bosch.de> (raw)
Hello
i have a file, which was transmitted using ftp.
The problem is, that the file was transmitted unsing ascii instead of
binary mode.
How can i change this file to the original format?
I tried tools like flip (dos2unix) or the following shell script:
#! /bin/ksh
# convert dos files to Unix by removing carriage returns.
for f in $@
do
tr -d '\015' <$f >${f}+ && mv -i $f ${f}~ && mv -i ${f}+ $f
done
The transmission was between two Digital Unix 4.0d systems.
Thanks for your help.
Mario
e-mail: mario.zimmermann@pcm.bosch.de
next reply other threads:[~1998-08-27 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-27 4:00 Mario Zimmermann [this message]
1998-08-27 4:00 ` ftp ascii instead of bin?? Stefan Heim
1998-08-30 4:00 ` Charles M Richmond
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox