(filename="example.txt")
| 21 | |
| 22 | |
| 23 | def receive_file(filename="example.txt"): |
| 24 | with open(filename, "wb") as out_file: |
| 25 | ftp.retrbinary("RETR " + filename, out_file.write, 1024) |
| 26 | ftp.quit() |
| 27 | |
| 28 | |
| 29 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected