HP3000-L Archives

September 2001, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"THAYER,ELIZABETH (HP-USA,ex1)" <[log in to unmask]>
Reply To:
THAYER,ELIZABETH (HP-USA,ex1)
Date:
Thu, 13 Sep 2001 07:34:26 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (57 lines)
Dave,

First off, please do a nmmaint,50 and also look in hpswinfo.pub.sys to see
what patch level you are at.  In some patches there were issues with the ftp
variables.  I would then contact the HP response center for verification.
There is an sr that references transfers of zero byte records, specifically
with NT.

Liz Thayer
HP Response Center

-----Original Message-----
From: David T Darnell [mailto:[log in to unmask]]
Sent: Wednesday, September 12, 2001 03:31 PM
To: [log in to unmask]
Subject: FTP of empty file displays error message.


We have a number of FTP jobs that send files which might sometimes contain
zero records.  This is not necessarily an error condition, but FTP prints a
message "CONNECTION CLOSED;TRANSFER ABORTED", (but, IIRC, does not set
FTPLASTERROR.)

Our STDLIST scanning product then picks up on the word "ABORTED", and
someone gets to dial-in in the late evening to find out there is no problem.

Sure, we can pipe those mesages to $null and check FTP@ variables, removing
important information from the $stdlist.

And we could easily test the file for emptyness, and not send it if empty,
but it is desireable that the user on the other end see a new empty file
(with new time stamp) rather than an old empty file or no file.

We could stuff an "empty file" message record into the empty file, ..... not
quite elegant.

Ideally, empty files would get sent to the remote (NT) and no "ABORT" string
of characters would be produced by FTP.

Whether FTP, by convention, is supposed to work this way is of academic
interest, but not of practical utility.

Is there any configuration option, command, parameter, or other "trick" to
make FTP act like send <emptyfile.txt> is A-OK?
Bound to be other imaginative workarounds from list members.  NOTE: file is
fixed length, so cannot put a zero-length record into the file.

Thanks,

Dave

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2