|
Am writing a ascii text file, fixed field length to be ftp'd to a US Post Office server. The following is an exact quote from the specs (Pub 91) "a line feed and carriage return is needed at the end of every record except the last record of the electronic file" 1. I assume it's CRLF, not LFCR 2. I have never heard of leaving off the CRLF from the last record? This file is a Header record (130 bytes), followed by Detail 1 (200 bytes), Detail 2 (352 bytes),Detail 1, Detail 2, etc. No Trailer record. Detail 2 does have a 7 byte alpha field at end of record that must contain spaces. Without final CRLF will ftp have a problem? jim franz
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.