Subject: | |
From: | |
Reply To: | |
Date: | Fri, 16 May 2003 08:37:30 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
All I can say is that it solved the problem at hand for us. If one is
putting binary data in an ascii file it would seem like you are asking
for problems.
-Lane
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Tony Summers
Sent: Friday, May 16, 2003 6:33 AM
To: [log in to unmask]
Subject: Re: OPENPDF and SENDMAIL
Is this reliable way of determining that the file contains Binary data ?
When we were looking at FTP'ing files between our two HPs then we
discovered the Flabel Ascii/Binary information wasn't always an accurate
reflection of the actual contents of the file. I tried using the file
code, but in the end it was simpler to always invoke Binary transfer.
>>> Lane Rollins <[log in to unmask]> 16/05/03 14:46:32 >>>
If it's the MAILFILE command file I wrote or rather mangled from Mark
B's
MAILSPF, in the first version it had a problem sending binary files.
Look
towards the end, there should be a single tobyte command replace it with
if lft( finfo( '!fname', 13 ), 6 ) = 'BINARY'
xeq tobyte.hpbin.sys "!fname !mailf_fname"
else
xeq tobyte.hpbin.sys "-at !fname !mailf_fname"
endif
-Lane
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|