Space data and information transfer systems — Protocol specification for space communications — File protocol

Systèmes de transfert des informations et données spatiales — Spécification d'un protocole pour communications spatiales — Protocole de classement

General Information

Status
Withdrawn
Publication Date
04-Oct-2000
Withdrawal Date
04-Oct-2000
Current Stage
9599 - Withdrawal of International Standard
Completion Date
10-May-2011
Ref Project

Relations

Buy Standard

Standard
ISO 15894:2000 - Space data and information transfer systems -- Protocol specification for space communications -- File protocol
English language
92 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL ISO
STANDARD 15894
First edition
2000-09-15
Space data and information transfer
systems — Protocol specification for space
communications — File protocol
Systèmes de transfert des informations et données spatiales —
Spécification d'un protocole pour communications spatiales — Protocole de
classement
Reference number
ISO 15894:2000(E)
©
ISO 2000

---------------------- Page: 1 ----------------------
ISO 15894:2000(E)
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but shall not
be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this
file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat accepts no liability in this
area.
Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters
were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event
that a problem relating to it is found, please inform the Central Secretariat at the address given below.
© ISO 2000
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic
or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISO's member body
in the country of the requester.
ISO copyright office
Case postale 56 � CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.ch
Web www.iso.ch
Printed in Switzerland
ii © ISO 2000 – All rights reserved

---------------------- Page: 2 ----------------------
ISO 15894:2000(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO
member bodies). The work of preparing International Standards is normally carried out through ISO technical
committees. Each member body interested in a subject for which a technical committee has been established has
the right to be represented on that committee. International organizations, governmental and non-governmental, in
liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical
Commission (IEC) on all matters of electrotechnical standardization.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 3.
Draft International Standards adopted by the technical committees are circulated to the member bodies for voting.
Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this International Standard may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights.
International Standard ISO 15894 was prepared by the Consultative Committee for Space Data Systems (CCSDS)
(as CCSDS 717.0-B-1) and was adopted (without modifications except those stated in clause 3 of this International
Standard) by Technical Committee ISO/TC 20, Aircraft and space vehicles, Subcommittee SC 13, Space data and
information transfer systems.
© ISO 2000 – All rights reserved iii

---------------------- Page: 3 ----------------------
INTERNATIONAL STANDARD ISO 15894:2000(E)
Space data and information transfer systems — Protocol
specification for space communications — File protocol
1 Scope
This International Standard specifies the requirements for the services and protocols of the space communications
protocol specification (SCPS) file transfer service. These requirements are to allow independent implementations of
this protocol in space and ground segments of the SCPS network to interoperate.
This International Standard addresses those considerations attending communications between space platforms
and ground systems, and between space platforms.
2 Conformance
This International Standard is applicable to all systems that claim conformance to the ISO/CCSDS SCPS file
protocol.
3 Requirements
Requirements are the technical recommendations made in the following publication (reproduced on the following
pages), which is adopted as an International Standard:
CCSDS 717.0-B-1, May 1999, Recommendation for space data system standards — Space communications
protocol specification (SCPS) — File protocol (SCPS-FP).
For the purposes of international standardization, the modifications outlined below shall apply to the specific
clauses and paragraphs of publication CCSDS 717.0-B-1.
Pages i to v
This part is information which is relevant to the CCSDS publication only.
Page 1-3
Add the following information to the references indicated in paragraph 1.6:
[3] Document CCSDS 102.0-B-4, November 1995, is equivalent to ISO 13419:1997.
[4] Document CCSDS 714.0-B-1, May 1999, is equivalent to ISO 15893:2000.
4 Revision of publication CCSDS 717.0-B-1
It has been agreed with the Consultative Committee for Space Data Systems that Subcommittee ISO/TC 20/SC 13
will be consulted in the event of any revision or amendment of publication CCSDS 717.0-B-1. To this end, NASA
will act as a liaison body between CCSDS and ISO.
© ISO 2000 – All rights reserved 1

---------------------- Page: 4 ----------------------
ISO 15894:2000(E)
(Blank page)
2 © ISO 2000 – All rights reserved

---------------------- Page: 5 ----------------------
ISO 15894:2000(E)
RECOMMENDATION FOR SPACE
DATA SYSTEM STANDARDS
SPACE COMMUNICATIONS
PROTOCOL SPECIFICATION (SCPS)—
FILE PROTOCOL
(SCPS-FP)
CCSDS 717.0-B-1
BLUE BOOK
May 1999
© ISO 2000 – All rights reserved 3

---------------------- Page: 6 ----------------------
ISO 15894:2000(E)
(Blank page)
4 © ISO 2000 – All rights reserved

---------------------- Page: 7 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
AUTHORITY
Issue: Blue Book, Issue 1
Date: May 1999
Location: Newport Beach, California, USA
This document has been approved for publication by the Management Council of the
Consultative Committee for Space Data Systems (CCSDS) and represents the consensus
technical agreement of the participating CCSDS Member Agencies. The procedure for
review and authorization of CCSDS Recommendations is detailed in reference [B1], and the
record of Agency participation in the authorization of this document can be obtained from the
CCSDS Secretariat at the address below.
This Recommendation is published and maintained by:
CCSDS Secretariat
Program Integration Division (Code MT)
National Aeronautics and Space Administration
Washington, DC 20546, USA
CCSDS 717.0-B-1 Page i May 1999
© ISO 2000 – All rights reserved 5

---------------------- Page: 8 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
STATEMENT OF INTENT
The Consultative Committee for Space Data Systems (CCSDS) is an organization officially
established by the management of member space Agencies. The Committee meets
periodically to address data systems problems that are common to all participants, and to
formulate sound technical solutions to these problems. Inasmuch as participation in the
CCSDS is completely voluntary, the results of Committee actions are termed
Recommendations and are not considered binding on any Agency.
This Recommendation is issued by, and represents the consensus of, the CCSDS Plenary
body. Agency endorsement of this Recommendation is entirely voluntary. Endorsement,
however, indicates the following understandings:
o Whenever an Agency establishes a CCSDS-related standard, this standard will be in
accord with the relevant Recommendation. Establishing such a standard does not
preclude other provisions which an Agency may develop.
o Whenever an Agency establishes a CCSDS-related standard, the Agency will provide
other CCSDS member Agencies with the following information:
-- The standard itself.
-- The anticipated date of initial operational capability.
-- The anticipated duration of operational service.
o Specific service arrangements shall be made via memoranda of agreement. Neither this
Recommendation nor any ensuing standard is a substitute for a memorandum of
agreement.
No later than five years from its date of issuance, this Recommendation will be reviewed by
the CCSDS to determine whether it should: (1) remain in effect without change; (2) be
changed to reflect the impact of new technologies, new requirements, or new directions; or,
(3) be retired or canceled.
In those instances when a new version of a is issued, existing CCSDS-
Recommendation
related Agency standards and implementations are not negated or deemed to be non-CCSDS
compatible. It is the responsibility of each Agency to determine when such standards or
implementations are to be modified. Each Agency is, however, strongly encouraged to direct
planning for its new standards and implementations towards the later version of the
Recommendation.
CCSDS 717.0-B-1 Page ii May 1999
6 © ISO 2000 – All rights reserved

---------------------- Page: 9 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
FOREWORD
The Space Communications Protocol Specification (SCPS) File Protocol (SCPS-FP)
provides End-to-End Application-Layer Services for flight missions in the space
environment. It is based on Internet File Transfer Protocol (FTP) and is generally inter-
operable with it. It does, however, extend and modify FTP in order to meet the unique
requirements of space flight operations. This document anticipates reader familiarity with
FTP and, therefore, addresses only those capabilities that have been added to FTP.
Through the process of normal evolution, it is expected that expansion, deletion, or
modification of this document may occur. This Recommendation is therefore subject to
CCSDS document management and change control procedures as defined in reference [B1].
Current versions of CCSDS documents are maintained at the CCSDS Web site:
http://www.ccsds.org/
Questions relating to the contents or status of this document should be addressed to the
CCSDS Secretariat at the address indicated on page i.
CCSDS 717.0-B-1 Page iii May 1999
© ISO 2000 – All rights reserved 7

---------------------- Page: 10 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
At time of publication, the active Member and Observer Agencies of the CCSDS were
Member Agencies
– British National Space Centre (BNSC)/United Kingdom.
– Canadian Space Agency (CSA)/Canada.
– Centre National d’Etudes Spatiales (CNES)/France.
– Deutsches Zentrum für Luft- und Raumfahrt e.V. (DLR)/Germany.
– European Space Agency (ESA)/Europe.
– Instituto Nacional de Pesquisas Espaciais (INPE)/Brazil.
– National Aeronautics and Space Administration (NASA)/USA.
– National Space Development Agency of Japan (NASDA)/Japan.
– Russian Space Agency (RSA)/Russian Federation.
Observer Agencies
– Austrian Space Agency (ASA)/Austria.
– Central Research Institute of Machine Building (TsNIIMash)/Russian Federation.
– Centro Tecnico Aeroespacial (CTA)/Brazil.
– Chinese Academy of Space Technology (CAST)/China.
– Commonwealth Scientific and Industrial Research Organization (CSIRO)/Australia.
– Communications Research Laboratory (CRL)/Japan.
– Danish Space Research Institute (DSRI)/Denmark.
– European Organization for the Exploitation of Meteorological Satellites
(EUMETSAT)/Europe.
– European Telecommunications Satellite Organization (EUTELSAT)/Europe.
– Federal Service of Scientific, Technical & Cultural Affairs (FSST&CA)/Belgium.
– Hellenic National Space Committee (HNSC)/Greece.
– Indian Space Research Organization (ISRO)/India.
– Industry Canada/Communications Research Centre (CRC)/Canada.
– Institute of Space and Astronautical Science (ISAS)/Japan.
– Institute of Space Research (IKI)/Russian Federation.
– KFKI Research Institute for Particle & Nuclear Physics (KFKI)/Hungary.
– MIKOMTEK: CSIR (CSIR)/Republic of South Africa.
– Korea Aerospace Research Institute (KARI)/Korea.
– Ministry of Communications (MOC)/Israel.
– National Oceanic & Atmospheric Administration (NOAA)/USA.
– National Space Program Office (NSPO)/Taipei.
– Swedish Space Corporation (SSC)/Sweden.
– United States Geological Survey (USGS)/USA.
CCSDS 717.0-B-1 Page iv May 1999
8 © ISO 2000 – All rights reserved

---------------------- Page: 11 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
DOCUMENT CONTROL
Document Title Date Status
CCSDS Space Communications May Original issue
717.0-B-1 Protocol Specification 1999
(SCPS)—File Protocol
(SCPS-FP)
CCSDS 717.0-B-1 Page v May 1999
© ISO 2000 – All rights reserved 9

---------------------- Page: 12 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
CONTENTS
Section Page
1 INTRODUCTION.1-1
1.1 PURPOSE .1-1
1.2 SCOPE .1-1
1.3 APPLICABILITY .1-1
1.4 ORGANIZATION OF RECOMMENDATION .1-1
1.5 TERMINOLOGY.1-2
1.6 REFERENCES.1-2
2 OVERVIEW .2-1
3 TECHNICAL SPECIFICATION.3-1
3.1 INTERNET FTP .3-1
3.2 DATA TRANSFER FUNCTIONS.3-1
3.3 FILE TRANSFER FUNCTIONS.3-8
3.4 DECLARATIVE SPECIFICATIONS .3-15
3.5 STATE DIAGRAMS .3-21
3.6 CONNECTION ESTABLISHMENT .3-21
3.7 INTERFACE TO LOWER PROTOCOL STACK LAYERS.3-22
3.8 MISCELLANEOUS SCPS-FP REQUIREMENTS.3-22
4 MANAGEMENT INFORMATION BASE (MIB) REQUIREMENTS.4-1
4.1 OVERVIEW .4-1
4.2 DATA TRANSFER TYPE .4-1
4.3 TRANSMISSION MODE.4-1
4.4 DATA STRUCTURE .4-1
4.5 AUTORESTART.4-2
4.6 MAXIMUM NUMBER OF AUTOMATIC RESTARTS .4-2
4.7 USE PORT COMMAND ON EACH SEND.4-2
4.8 SUPPRESS SERVER REPLY TEXT .4-2
4.9 SERVER IDLE TIMEOUT.4-3
4.10 BEST EFFORT TRANSPORT SERVICE .4-3
4.11 BEST EFFORT TRANSPORT SERVICE FILL CHARACTER.4-3
CCSDS 717.0-B-1 Page vi May 1999
10 © ISO 2000 – All rights reserved

---------------------- Page: 13 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
CONTENTS (continued)
Section Page
5 CONFORMANCE REQUIREMENTS.5-1
5.1 CONFORMANCE REQUIREMENTS OVERVIEW .5-1
5.2 SCPS-FP CONFORMING MINIMUM IMPLEMENTATION .5-1
5.3 SCPS CONFORMING FULL IMPLEMENTATION .5-3
5.4 FTP INTEROPERABLE IMPLEMENTATION .5-4
5.5 OTHER OPTIONAL IMPLEMENTATIONS.5-5
ANNEX A ACRONYMS AND ABBREVIATIONS .A-1
ANNEX B INFORMATIVE REFERENCES. B-1
ANNEX C SCPS-FP PROTOCOL IMPLEMENTATION CONFORMANCE
STATEMENT PROFORMA .C-1
ANNEX D SCPS-FP SERVICE SPECIFICATION .D-1
Figure
3-1 State Diagram 1.3-21
3-2 State Diagram 2.3-21
D-1 State Diagram 1.D-4
D-2 State Diagram 2.D-5
D-3 State Diagram 3.D-6
Table
3-1 Rollback Algorithm without Autorestart.3-7
3-2 Rollback Algorithm with Autorestart.3-7
3-3 Transport Services Summary .3-22
CCSDS 717.0-B-1 Page vii May 1999
© ISO 2000 – All rights reserved 11

---------------------- Page: 14 ----------------------
ISO 15894:2000(E)
(Blank page)
12 © ISO 2000 – All rights reserved

---------------------- Page: 15 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
1 INTRODUCTION
1.1 PURPOSE
The purpose of this Recommendation is to define the Space Communications Protocol
Specification (SCPS) File Protocol (SCPS-FP). This definition will allow independent
implementations of the SCPS-FP in the space and ground segments of the SCPS Network to
interoperate.
1.2 SCOPE
This Recommendation addresses communications between space platforms and ground
systems, and between space platforms. It is designed to support efficient file-transfer and
file-operation requirements of current and upcoming space missions through extensions and
modifications to Internet File Transfer Protocol (FTP).
1.3 APPLICABILITY
This Recommendation is applicable to space missions and ground systems that claim
conformance to the SCPS-FP. It is intended that this Recommendation become a uniform
standard for all active Member and Observer Agencies of the CCSDS.
1.4 ORGANIZATION OF RECOMMENDATION
This SCPS-FP Recommendation is organized as follows:
– Section 1 provides an introduction to the standard, introduces new protocol
terminology, and documents the normative references.
– Section 2 provides an overview of the SCPS File Protocol.
– Section 3 documents the protocol specifications for a SCPS-FP.
– Section 4 documents the Management Information Base (MIB) requirements for
SCPS-FP.
– Section 5 documents the conformance requirements for SCPS-FP.
– Annex A defines acronyms and abbreviations used in the document.
– Annex B lists informative references.
– Annex C contains the Protocol Implementation Conformance Statement (PICS)
proforma for SCPS-FP.
– Annex D contains the Service Specification.
CCSDS 717.0-B-1 Page 1-1 May 1999
© ISO 2000 – All rights reserved 13

---------------------- Page: 16 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
This Recommendation modifies and adds to Internet FTP. It makes normative reference to
the Internet standards that define FTP (references [1] and [2]). It makes informative
reference to other documents (see annex B).
1.5 TERMINOLOGY
The terminology as outlined in Internet Standard 9 (reference [1]), section 2.2, is applicable
to the SCPS-FP with the following additions:
Cyclic Redundancy Check (CRC): A polynomial-based code used for protecting against
recording and communications errors (see reference [B2]).
: A collection of the information necessary to control the operation of the record
control data
read and record update services. This information includes data such as the files to be
read/updated, checksum, option flags, and update data.
network byte order: The order in which the bytes of a word are transmitted. For a 32-bit
word, W1.W2.W3.W4, where W1 is the most significant octet, W1 is transmitted first, W2
next, then W3, and finally W4. The same applies for a 16-bit number, W1.W2, where W1
corresponds to the high 8 bits. W1 is sent first, and then W2.
rollback: Of or pertaining to the act of rolling back (undoing) incomplete changes made to a
file for which the transfer or record operation terminated with errors and thereby restoring the
file to its pre-transfer or pre–record operation state.
user-FP: Same as user-FTP in Internet Standard 9 (reference [1]). Terminology changed in
SCPS-FP specification to remove direct reference to FTP.
server-FP: Same as server-FTP in Internet Standard 9 (reference [1]). Terminology changed
in SCPS-FP specification to remove direct reference to FTP.
NVT-ASCII: The ASCII collation sequence.
1.6 REFERENCES
The following documents contain provisions which, through reference in this text, constitute
provisions of this Recommendation. At the time of publication, the editions indicated were
valid. All documents are subject to revision, and users of this Recommendation are
encouraged to investigate the possibility of applying the most recent editions of the docu-
ments indicated below. The CCSDS Secretariat maintains a register of currently valid
CCSDS Recommendations.
CCSDS 717.0-B-1 Page 1-2 May 1999
14 © ISO 2000 – All rights reserved

---------------------- Page: 17 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)

[1] J. Postel and J. Reynolds. File Transfer Protocol. STD 9, October 1985. [RFC 959]
[2] R. Braden. Hosts Requirements. STD 3, October 1989. [RFC 1122, RFC 1123]
[3] Packet Telemetry. Recommendation for Space Data System Standards, CCSDS 102.0-
B-4. Blue Book. Issue 4. Washington, D.C.: CCSDS, November 1995.
[4] Space Communication Protocol Specification (SCPS)—Transport Protocol (SCPS-TP).
Recommendation for Space Data System Standards, CCSDS 714.0-B-1. Blue Book.
Issue 1. Washington, D.C.: CCSDS, May 1999.

Internet Request for Comments (RFC) texts are available on line in various locations (e.g., http://ietf.org/rfc/).
In this list, Internet Standards are identified by ‘STD’ followed by the number of the standard, and RFCs are
identified by ‘RFC’ followed by the number of the RFC. RFCs comprised by Internet Standards are given in
square brackets following the citation.
CCSDS 717.0-B-1 Page 1-3 May 1999
© ISO 2000 – All rights reserved 15

---------------------- Page: 18 ----------------------
ISO 15894:2000(E)
(Blank page)
16 © ISO 2000 – All rights reserved

---------------------- Page: 19 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
2 OVERVIEW
The extensions to FTP and its augmentations as contained in Internet Standards 9 and 3
(references [1] and [2]) are necessitated by technical requirements for transfers of and
operations on files and analogous delimited data sets in the space communications
environment. These technical requirements include
– transfers of command and data files to spacecraft;
– transfers of application software to spacecraft;
– transfers of science or mission data to ground without special level-zero processing;
– limited management of files onboard spacecraft (delete, rename, and directory
services);
– automatic restart of transfers after an interruption;
– reading of portions of files resident on board spacecraft; and
– updates/changes to files on board spacecraft.
The SCPS-TP protocol is characterized by a command/reply dialog on a stream connection.
The client Protocol Interpreter (PI) accepts input from the user, translates user commands to
server commands, and issues the server commands on the control connection. The server PI
parses those commands, looks up commands in a table, and transfers control to the routine
associated with the command. This specification defines procedures for each PI to execute
upon success or failure of commands. When a command has been parsed and processed,
either successfully or unsuccessfully, the server issues a reply message on the control
connection. Commands and replies are short ASCII strings terminated with the ASCII
control sequence .
SCPS-FP is based on Internet FTP, which is described in references [1] and [2]. SCPS-FP
maintains interoperability with Internet FTP on the control connection. This
Recommendation is designed to be scaleable to fit onto the most resource-constrained service
and yet expandable to full Internet compatibility according to mission requirements.
SCPS-FP is a profile of Internet FTP that adds capabilities to the Internet standard as follows:
– automatic restart of a failed transfer;
– read, write, add, change, and delete individual file records;
– interrupt (pause) a file transfer so that it can be restarted later from the interrupt point;
– suppress reply text to improve bandwidth efficiency;
– assure file and record integrity in the case of abnormal connection loss.
These capabilities are designed to yield efficient transfer of file-oriented data sets across the
space link.
CCSDS 717.0-B-1 Page 2-1 May 1999
© ISO 2000 – All rights reserved 17

---------------------- Page: 20 ----------------------
ISO 15894:2000(E)
(Blank page)
18 © ISO 2000 – All rights reserved

---------------------- Page: 21 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
3 TECHNICAL SPECIFICATION
3.1 INTERNET FTP
SCPS-FP adopts the File Transfer Protocol (FTP) as specified in Internet Standards 9 and 3
(references [1] and [2]), with the modifications and extensions specified in section 3 of this
document.
3.2 DATA TRANSFER FUNCTIONS
3.2.1 DATA REPRESENTATION AND STORAGE
3.2.1.1 Data Types
3.2.1.1.1 General
The non-print format controls are applicable to SCPS-FP. EBCDIC and Local data types
may be supported as additional, non-SCPS capabilities.
3.2.1.1.2 ASCII Type
The ASCII data type is optional for SCPS-FP file transfer operations; it does not apply to
SCPS-FP record operations. The ASCII type is not the SCPS-FP default.
3.2.1.1.3 Image Type
The IMAGE data type is the default for SCPS-FP and must be supported by all SCPS-FP
implementations.
3.2.1.2 Data Connection Management
The SCPS-FP user-PI must initiate the use of non-default ports because of the need for
SCPS-TP to hold the connection record for a timeout period to guarantee reliable
communication.
3.2.1.3 Stream Mode
If the structure is a file structure, the EOF is indicated by the sending host’s closing of the
data connection, in which case all bytes are data bytes.
CCSDS 717.0-B-1 Page 3-1 May 1999
© ISO 2000 – All rights reserved 19

---------------------- Page: 22 ----------------------
ISO 15894:2000(E)
CCSDS RECOMMENDATION FOR SCPS FILE PROTOCOL (SCPS-FP)
3.2.1.4 CCSDS Packets
If the structure is a record structure, indicating the file consists of contiguous CCSDS
Packets, the following provisions are required to enable use of FP restart and record
read/update capabilities.
a) the FP shall issue the STRU command with the Record argument (ASCII character ‘R’);
b) the FP shall issue the TYPE command if necessary to switch to IMAGE data type
before transferring files of CCSDS Packets;
c) the FP shall invoke the record boundary option of SCPS-TP (reference [4]) to delimit
records during transfer;
d) in record operations, record identifiers shall be interpreted as referring to the Packet
Sequence Count field in the record;
e) the protocol shall use the Packet Data Length field to delimit records in the file.
3.2.2 ERROR RECOVERY AND RESTART
3.2.2.1 Stream Mode Restart with IMAGE Data Type
3.2.2.1.1 When a system failure is detected, the receiving Data Transfer Process (DTP)
shall determine the restart marker by querying the file system for the current size of the file.
3.2.2.1.2 Restart markers shall not be imbedded in the data in stream mode.
3.2.2.1.3 There are three cases in which SCPS-FP restart may be accomplished in stream
mode:
a) user-to-server transfer (e.g., STOR):
1) the user-FP shall send ‘SIZE pathname’ to the receiving server-FP;
2) the server-FP shall send ‘213 pathname SIZE rrrr’ to the user-FP, where rrrr is the
size of the file (indicated by pathname) stored locally at the server;
3) to restart the transfer, the user-FP shall reposition its local file system using restart
marker rrrr and send the command ‘REST rrrr’ to the server-FP;
4) the server-FP
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.