1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
<pre>Network Working Group H. Brodie
Request for Comments #269 UCLA-NMC
NIC # 7817 6 December 71
Categories: File Transfer
Updates: <a href="./rfc122">122</a>, <a href="./rfc238">238</a>, <a href="./rfc172">172</a>
Obsoletes: None
<span class="h1">Some Experience with File Transfer</span>
At UCLA-NMC we have recently completed implementation of a program which
utilizes UCSB's storage capability via their Simple Minded File System
(See RFC #122 by Jim White for a description of SMFS). The use of the
program is detailed in <a href="#appendix-A">Appendix A</a>.
We learned a number of things in the implementation effort and
subsequent usage. We think a number of these apply towards the
development of a net- word-wide File Transfer Protocol, and we hope to
stimulate further dis- cussion of these issues. We discovered some
things in the UCSB protocol that we would like to see included in the
network-wide protocol, and we see some things that are in the currently
proposed net protocol and are unfortunately absent from the UCSB
protocol.
In the first category, is the UCSB file retrieval procedure. The user
specifies among other things, a bit count of the number of bits to be
retrieved in the current request.
Successive RTF commands yield successive pieces of the file. Portions
of the file can be spaced over by use of the SPF command. We think that
the ability of the user to specify the size of the "chunks" of the file
he is about to receive, along with the ability to access any part of the
file without having to get the entire file, is definitely an advantage.
It makes the user programs easier to write since the problem of parsing
the input stream virtually disappears, as the user program knows exactly
what to expect at all times. In addition, the one request, one response
nature of the protocol avoids the problem of sending a request and then
receiving pieces of data of unpredictable size at unknown intervals.
The response to each RTF gives the comforting knowledge that "they're
still listening". This leads us to believe that there is much to be
gained by the adoption of a one request, one response type of protocol.
We might point out that for any significant file transfer, this does not
seriously cut down on the overall data transfer rate, since a
"defaulting" type of approach, as SMFS uses can be used to keep the
request messages very small. We also have found the mandatory password
scheme of UCSB quite easily used, and any server site, (i.e. a site
specifically advertising file storage) can reasonably be expected, in
our opinion, to require passwords (see also RFC #238 by R. Braden).
<span class="grey"> [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey">Network Working Group H. Brodie</span>
Request for Comments #269 UCLA-NMC
NIC #7817 6 December 71
Almost immediately after starting to use SMFS we found a serious lack in
one area. There is no way for a user to ask "what files do I have
there?" As a matter of fact, the author suspects that there are already
several files there which he has "forgotten" about! It is reasonable,
perhaps even necessary, for any server to supply a nicely formatted
character string describing the files stored there for this password, or
user, or whatever division is used. The listing should also contain
other pertinent information, such as date created, size etc.
In the meantime, UCSB is providing the SEX system with valuable "out-of-
line on-line" storage, and we look forward to the development of a
widely accepted file transfer protocol, implemented on a large number of
server sites, hopefully equipped with low cost bulk storage.
<span class="grey"> [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey">SEX Notebook <a href="#appendix-A">Appendix A</a> H. Brodie</span>
<a href="#section-23.29">Section 23.29</a> 3 December 71
FXFER
FXFER is a re-entrant program written in Symbol which is used to send a
receive file from UCSB, using their Simple Minded File System. For the
description of the Network interface to SMFS, see RFC #122 by Jim White.
Files are stored there in a paged format identical to the paged format
that the tape process uses: <header><data page><data page>... Thus a
file which Master lists as having n pages will take 2048 n bytes of
storage at UCSB. The user's sign-on initials are used as both the
access and modification passwords, so that if a file is sent under on
user's sign-on, they can only be retrieved or deleted by him.
Commands
PA - Increments "print All" counter. Different settings of this
counter yield different levels of program trace output on
the console.
NP - No print. This sets the "Print All" counter to zero.
DF FOO - This deletes the file "FOO" located at UCSB.
PF FOO - This sends the file "FOO", pointed to by the user's root
directory, to UCSB. Only read access is needed to "FOO".
GF FOO - The file "FOO" located at UCSB is retrieved and put in the
user's root (with write access). Note that it must have been
sent by the user to have the right password.
RN FOO BAR - Rename the file "FOO" at UCSB to "BAR". The same password
restrictions as with PF and GF apply. (Not yet implemented)
ST - Status. Tells what program is doing and how much its done.
X - Exit Program.
If the system and/or UCSB is particularly slow, then UCSBFIL may type a
time-out message. At this point the user has the option of continuing,
or exiting the program. The message is self-explanatory, as are most of
the program's messages.
[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by Nick Christenson 10/97]
[Page 3]
</pre>
|