/  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.



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())