MCPcopy Create free account
hub / github.com/RainingComputers/whipFTP / connect_to

Method connect_to

FTP_controller.py:32–35  ·  view source on GitHub ↗
(self, host, username = ' ', password = ' ', port = 21)

Source from the content-addressed store, hash-verified

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

Callers 1

connect_threadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected