tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Update: ftp hanging on bare linefeeds
@ 2000-10-11 18:42 Bochnik, William J
  0 siblings, 0 replies; only message in thread
From: Bochnik, William J @ 2000-10-11 18:42 UTC (permalink / raw)
  To: tru64-unix-managers

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="------_=_NextPart_001_01C033B2.FC41F470", Size: 4184 bytes --]

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C033B2.FC41F470
Content-Type: text/plain;
	charset="iso-8859-1"



Clarification - both systems are not Unix, so we "have" to send the file as
ascii - the sender is and EBCDIC IBM system (cough cough) and it is doing an
EBCDIC->ASCII conversion as part of the ftp, and some of the characters map
to LF's :-(.

-----Original Message-----
From: Bochnik, William J [mailto:BochnikWJ@bernstein.com]
Sent: October 11, 2000 2:27 PM
To: tru64-unix-managers@ornl.gov
Subject: ftp hanging on bare linefeeds


anyone else have ftp processes into a DUnix box hang on a "malformed" ascii
file (one with multiple bare linefeeds in it when you tell the system the
file is ascii)?

The system(s) in question are 4.0D and 4.0F with relatively recent patches

ftp> put ex.std
200 PORT command successful.
150 Opening ASCII mode data connection for ex.std (xx.xx.xx.xx).
230-WARNING! 2 bare linefeeds received in ASCII mode
   File may not have transferred correctly.
226 Transfer complete.
421 Timeout (900 seconds): closing control connection.


The problem is that we might not be able to tweak the data file before it is
sent, and occasionally it does end up with multiple bare linefeeds.  We also
do not want to xfer it as binary and convert later.

Any comments/ideas/etc???  We're having discussions as to the approach to
fixing this.


William J. Bochnik

Systems Programmer
Operations, CMIS



------_=_NextPart_001_01C033B2.FC41F470
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2651.65">
<TITLE>Update: ftp hanging on bare linefeeds</TITLE>
</HEAD>
<BODY>
<BR>
<BR>

<P><FONT SIZE=3D2>Clarification - both systems are not Unix, so we =
&quot;have&quot; to send the file as ascii - the sender is and EBCDIC =
IBM system (cough cough) and it is doing an EBCDIC-&gt;ASCII conversion =
as part of the ftp, and some of the characters map to LF's =
:-(.</FONT></P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Bochnik, William J [<A =
HREF=3D"mailto:BochnikWJ@bernstein.com">mailto:BochnikWJ@bernstein.com</=
A>]</FONT>
<BR><FONT SIZE=3D2>Sent: October 11, 2000 2:27 PM</FONT>
<BR><FONT SIZE=3D2>To: tru64-unix-managers@ornl.gov</FONT>
<BR><FONT SIZE=3D2>Subject: ftp hanging on bare linefeeds</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>anyone else have ftp processes into a DUnix box hang =
on a &quot;malformed&quot; ascii</FONT>
<BR><FONT SIZE=3D2>file (one with multiple bare linefeeds in it when =
you tell the system the</FONT>
<BR><FONT SIZE=3D2>file is ascii)?</FONT>
</P>

<P><FONT SIZE=3D2>The system(s) in question are 4.0D and 4.0F with =
relatively recent patches</FONT>
</P>

<P><FONT SIZE=3D2>ftp&gt; put ex.std</FONT>
<BR><FONT SIZE=3D2>200 PORT command successful.</FONT>
<BR><FONT SIZE=3D2>150 Opening ASCII mode data connection for ex.std =
(xx.xx.xx.xx).</FONT>
<BR><FONT SIZE=3D2>230-WARNING! 2 bare linefeeds received in ASCII =
mode</FONT>
<BR><FONT SIZE=3D2>&nbsp;&nbsp; File may not have transferred =
correctly.</FONT>
<BR><FONT SIZE=3D2>226 Transfer complete.</FONT>
<BR><FONT SIZE=3D2>421 Timeout (900 seconds): closing control =
connection.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>The problem is that we might not be able to tweak the =
data file before it is</FONT>
<BR><FONT SIZE=3D2>sent, and occasionally it does end up with multiple =
bare linefeeds.&nbsp; We also</FONT>
<BR><FONT SIZE=3D2>do not want to xfer it as binary and convert =
later.</FONT>
</P>

<P><FONT SIZE=3D2>Any comments/ideas/etc???&nbsp; We're having =
discussions as to the approach to</FONT>
<BR><FONT SIZE=3D2>fixing this.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>William J. Bochnik</FONT>
</P>

<P><FONT SIZE=3D2>Systems Programmer</FONT>
<BR><FONT SIZE=3D2>Operations, CMIS</FONT>
</P>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C033B2.FC41F470--

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-10-11 18:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-11 18:42 Update: ftp hanging on bare linefeeds Bochnik, William J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox