|
Brad, I think its a WRKLNK thing. I have exactly the same situation where some files downloaded with HTTPAPI onto the IFS display with line feeds correclty, and other don't, even when downloaded at the same time. Viewing the files in Notepad.exe always displays the line feeds OK. Looking at the files in hex, I note that most of the line feeds are just 0A i.e. LF but with no 0D (CR) Sometimes there are 0D0A as normal DOS/Windows. The files downloaded are HTML I <think> WRKLNK tries to be clever at determining if the file to be displayed is a Unix type (no CR) or DOS type (CRLF).... and sometimes gets it wrong. On the other hand I may be woofing up a strange piece of woodland. Regards Ian Patterson ian@xxxxxxxxxxxxxxxxx <mailto:ian@xxxxxxxxxxxxxxxxx> Grange IT Limited tel 01947 880458 www.grangesystems.com -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Brad Stone Sent: 11 August 2004 19:30 To: Midrange Systems Technical Discussion Subject: Displaying Stream File (CRLFs?) Just wondering if I'm forgetting something, or if this something we just have to live with. When viewing a stream file sometimes the CRLFs don't seem to work all the time... So you'll see a line, and the next line starts on the same line as the previous line even though the CRLFs are in there. I'm sorta fried right now (LOL!) so maybe I'm just forgetting something... maybe this is just the way it is. When the file is downloaded to my PC using FTP it looks fine with the CRLFs intact. -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.