From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 3717dac89a,a975f64b947c122 X-Google-Attributes: gid3717dac89a,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail From: koehler@eisner.nospam.encompasserve.org (Bob Koehler) Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? Message-ID: Date: 10 Aug 2009 07:44:14 -0500 References: <4a7c4310$1@flight> <4a7dbb58$0$295$14726298@news.sunsite.dk> <4a7dc34a$0$299$14726298@news.sunsite.dk> <0036d9be$0$5027$c3e8da3@news.astraweb.com> Organization: Encompasserve NNTP-Posting-Host: 67.53.90.116 X-Trace: news.sunsite.dk DXC=>A9UNXkGQnkHNh;Hl28o0iYSB=nbEKnkki936^aC0D1aT1og, glen herrmannsfeldt writes: > In comp.os.vms Howard S Shubs wrote: > (big snip) > >> I suppose we could have done it with two $GETs, yes. Unfortunately, >> without knowing for sure how the file was being written by FTP, we >> didn't know that. FTP is saving it as two records, one of 32767 bytes, >> and one of 330 bytes. I only found that out once I looked at the blocks >> while debugging my routines. And I can't be sure it'll always work this >> way. We're using MULTINET. What if we switch to UCX (unlikely) and it >> does things differently? I like the idea of having a library around >> which will read any record length, anyway. > > TCP is a stream protocol, with no record marks. The resulting > file should be independent of anything in the TCP/IP chain. FTP imposes a standard CRLF pair at the end of each line of text, when transfering as a text file. Of course, TCP doesn't need to know about this.