Network Working Group
RFC 294NIC 8304 Categories: D.4, D.5, and D.7 Updates: RFC 265 The Use of 'Set Data Type' Transaction in File Transfer Protocol ---------------------------------------------------------------- |
25 January 1972 Abhay Bhushan, MIT |
In many systems such as Multics at MIT, there is no provision to
The 'set data type' transaction preceding a retrieve request
[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by BBN Corp. under the ]
[ direction of Alex McKenzie. 12/96 ]
[Page 1]
RFC 294 Abhay Bhushan, MIT
The following examples should clarify the use of 'set data
---- ------
Set data type '02' (Network ASCII)
------------------------------------->
Store File X
------------------------------------->
File X (in Network ASCII)
------------------------------------->
End of File
------------------------------------->
Acknowledge
<-------------------------------------
Retrieve File X
------------------------------------->
File X in Network ASCII
<-------------------------------------
End of File
<-------------------------------------
---- ------
Set data type'03' (EBCDIC)
------------------------------------->
Retrieve File Y
------------------------------------->
Set data type '00' ("bit-stream")
<-------------------------------------
File Y as stored (no conversion)
<-------------------------------------
End of File
<-------------------------------------
Set data type '02' (Network ASCII)
------------------------------------->
Retrieve File Z
------------------------------------->
File Z in Network ASCII
<-------------------------------------
End of File
<-------------------------------------
[Page 2]