(self, file_name, status_command)
| 142 | status_command(copy_from, 'Deleting local directory') |
| 143 | |
| 144 | def delete_file(self, file_name, status_command): |
| 145 | try: |
| 146 | self.ftp.sendcmd('DELE '+file_name) |
| 147 | status_command(file_name, 'Deleted') |
| 148 | except: |
| 149 | status_command(file_name, 'Failed to delete') |
| 150 | |
| 151 | def delete_dir(self, dir_name, status_command): |
| 152 | #Go into the directory |
no outgoing calls
no test coverage detected