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!border2.nntp.dca.giganews.com!nntp.giganews.com!backlog2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 10 Aug 2009 08:57:40 -0500 Date: Mon, 10 Aug 2009 09:57:34 -0400 From: "Richard B. Gilbert" Reply-To: rgilbert88@comcast.net User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: RMS internals? 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> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <1sednbLLk8nJuh3XnZ2dnUVZ_sOdnZ2d@giganews.com> X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-ZuIS2PSOsMtjQqzISgJHFrnazjTkpXg+gE/4DE8nRLRcIpScKQi72Vjo7YKVq/zrM3Tm6wChlt2ddV7!KqAgxcYQEAhQsNE8mfK5UymnuaH2uxgC4nvOH1egjQTl57Bgj8ff8QTjCTXiTybzJU30RcQHWzk= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 X-Original-Bytes: 3040 Xref: g2news2.google.com comp.sys.dec:1279 comp.os.vms:20653 Bob Koehler wrote: > In article , 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. > That's not quite true! FTP appends the LOCAL LINE TERMINATOR in text mode. Unix destinations get . DOS/Windows get . I think there's something that uses by itself but I can't recall what it is; maybe Apple/Mac. VMS gets "counted strings". It's handled on the receiving end. -- draco vulgaris