Groups | Search | Server Info | Login | Register
| From | koehler@eisner.nospam.encompasserve.org (Bob Koehler) |
|---|---|
| Newsgroups | alt.sys.pdp11, comp.sys.dec, comp.os.vms |
| Subject | Re: QBUS Prototyping |
| Message-ID | <fL0rvC78zeBu@eisner.encompasserve.org> (permalink) |
| Date | 2011-04-18 07:52 -0500 |
| References | <8265dgFs33U3@mid.individual.net> <hqf13t$e29$1@Iltempo.Update.UU.SE> |
| Organization | Encompasserve |
Cross-posted to 3 groups.
In article <hqf13t$e29$1@Iltempo.Update.UU.SE>, Johnny Billquist <bqt@softjar.se> writes: > Actually, ftp don't have these problems. > ftp was designed to walk around these exact problems. So, ftp deals with > records, where each side are free to perform whatever stuff needed to > figure out what a record is, how to store and retrieve it, and so on. > So for Unix systems, if you transfer in ASCII mode, a record is the data > between two LF. The data is sent over, with the FTP definition of record > terminator, and the other side then strip of the FTP record terminator, > and writes the record to disk, with whatever tricks needed on that > system (like adding an LF on a Unix system). FTP doesn't really have the concept of records. It has the concept of text files containing lines of text. It transfers these via a standard that calls for lines of text to be separated by CRLF pairs. The OS on each end is free to do it's own thing in deciding how to store those lines of text. If FTP really had the concept of records, I could transmit a record with a CRLF pair in the middle. FTP can't handle that idea. Some OS use conventions that can't handle it, either. IMHO, this is better than lines of text separated by a single character, because I can embed a CR or an LF, or any other byte in the line of text, whether the OS at either end can deal with it or not. (It's not FTP's fault if the OS can't handle it). And in practice, I would not trust any FTP client or FTP server to transmit a line of text containing an embeded null character without first proving to myself that it worked. Nor would I be particularly comfortable that it was unlikely to break in some future update. Well, OK, maybe if I was transfering the text between two systems that implimented STRU VMS.
Back to comp.sys.dec | Previous | Next — Next in thread | Find similar
Re: QBUS Prototyping koehler@eisner.nospam.encompasserve.org (Bob Koehler) - 2011-04-18 07:52 -0500
Re: QBUS Prototyping Johnny Billquist <bqt@softjar.se> - 2011-04-18 08:11 -0700
Re: QBUS Prototyping koehler@eisner.nospam.encompasserve.org (Bob Koehler) - 2011-04-18 12:51 -0500
FTP is 40 years old Paul Sture <paul.nospam@sture.ch> - 2011-04-19 12:29 +0200
csiph-web