|
At 02:42 PM 10/31/97 EDT, Darin White wrote: >My customers are doing ASCII-mode ftp "gets" of files >containing 95-byte records from my 400. In cases where the last >few positions of the record are blank the record seems to be >truncated. I suspect this is a function of the EBCDIC to ASCII >conversion performed by the ftp server, but does anyone out there >know of an easy way to force out these trailing blanks? The nature of FTP is to strip off any trailing blanks on a record. My advice would be to add a single character field at the end of the record and force it to some constant. In a system I wrote a number of years ago to transfer to and from a NT server, I had to put a "#" at the end of every record. david -- | Internet: david@midrange.com | WWW: http://www.midrange.com/david | | ... A man can move mountains, a world can be turned, | and the greatest of distances easily spanned, | When the strength that's invested in making a fist | is transformed into shaking a hand. | | - DMRoth +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MAJORDOMO@midrange.com | and specify 'unsubscribe MIDRANGE-L' in the body of your message. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.