[Info-vax] RMS internals?
Bob Koehler
koehler at eisner.nospam.encompasserve.org
Mon Aug 10 17:00:14 EDT 2009
In article <1sednbLLk8nJuh3XnZ2dnUVZ_sOdnZ2d at giganews.com>, "Richard B. Gilbert" <rgilbert88 at comcast.net> writes:
>
> That's not quite true! FTP appends the LOCAL LINE TERMINATOR in text
> mode.
FTP imposes a standard CRLF during transmission of files in ASCII
mode. What the client and server do with it is none of the FTP
standard's business. For example, a VMS client or server sending
a variable length, stmcr, or stmlf file in ASCII mode will replace
those separators with CRLF before transmiting (most likely by using
RMS to read the lines as records and then appending the CRLF). As
a matter of fact, any record oriented file could be transfered
in ASCII mode this way, although the other end might not know
anything usefull to do with it.
Continuing the example, typically VMS clients and servers receiving
a file in ASCII mode strip the CRLF and save the file as records in
a variable length record format. In Multinet, you can alternatively
tell the Multinet client or server to save them as fixed length records.
UNIX, Windows, MacOS, ... all do the appropriate thing when saving
or reading files transfered in ASCII mode. But FTP only standardizes
the transmission format.
More information about the Info-vax
mailing list