Python Yamcs Client
- General Client
- Mission Database
- TM/TC Processing
- Archive
- Link Management
- Object Storage
- File Transfer
- Time Correlation (TCO)
- Timeline
- Examples
Related
Download this Document
/
Python Yamcs Client /
File Transfer
File Transfer¶
The File Transfer API provides methods that you can use to programmatically work with file transfers such as CFDP.
Reference¶
Snippets¶
Create a FileTransferClient
for a specific instance:
from yamcs.client import YamcsClient
client = YamcsClient('localhost:8090')
cfdp = client.get_file_transfer_client(instance='cfdp')
# Operations are grouped by service.
# Here: take the first available
service = next(cfdp.list_services())