#1916: Created FTP superclass + working retrieve file method for FTP

This commit is contained in:
Czar.Echavez
2023-09-21 15:13:30 +01:00
parent 2e76b3f162
commit 58edb6d3e4
5 changed files with 191 additions and 73 deletions

View File

@@ -57,3 +57,6 @@ def test_ftp_client_retrieve_file_from_server(uc2_network):
dest_file_name="test_file.txt",
dest_ip_address=backup_server.nics.get(next(iter(backup_server.nics))).ip_address,
)
# client should have retrieved the file
assert ftp_client.file_system.get_file(folder_name="downloads", file_name="test_file.txt")