To transfer files through network, we can use the File Transfer Protocol (FTP). This scenario allows to transfer one specific file between two OpenBACH agents, either once or repeatedly. It uses the jobs ftp_clt and ftp_srv.
The scenario can be launched with the following command:
python3 executor_service_ftp.py your_project --client-entity client_entity --server-entity server-entity --server-ip server_ip --server-port port --mode upload_or_download --ftp-file_path path_of_the_file --ftp-user user --ftp-passwrd password --multiple multiple --blocksize blocksize --post-processing-entity post_processing_entity run
Here is a description of each argument:
If multiple is different of 1, only one transfer will be done at a time
An example of the type of results that this scenarios is capable of plotting is shown below:
The FTP server computes only the average value of throughput on Upload, while the client is capable of computing the throughput during all the transfer.
The FTP server computes only the average value of throughput on Download, while each client is capable of computing the throughput during all the transfer.
The plots can be downloaded from the OpenBACH web interface: go to the scenario instance, click on export CSV, check the histogram and time-series boxes and click on Download.