COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
File Transfer Library
Collaboration diagram for File Transfer Library:

Modules

 File Transfer constants
 
 File Transfer typedefs
 
 File Transfer functions
 

Detailed Description

File Transfer Protocol.

COSMOS provides a basic File Transfer Protocol for direct transfer of files between Nodes and Agents. Each file transferred is targeted at a specific Node and Agent, and always flows from the outgoing folder at the sending location to the incoming folder of the receiving location.

The protocol is designed to be robust in the face of intermittent connections, and to work within a network MTU of 250 bytes. Transfers are supported through the exchange of 8 packet types. Each packet starts with 1 byte indicating the type and 1 byte representing a Transaction Id. The packets differ from each other in the following way: