(self, host, username = ' ', password = ' ', port = 21)
| 30 | self.server_platform = 'Linux' |
| 31 | |
| 32 | def connect_to(self, host, username = ' ', password = ' ', port = 21): |
| 33 | self.ftp = FTP() |
| 34 | self.ftp.connect(host, port) |
| 35 | self.ftp.login(username, password) |
| 36 | |
| 37 | def toggle_hidden_files(self): |
| 38 | self.hidden_files = not self.hidden_files |