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

Method is_there

FTP_controller.py:80–85  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

78 self.ftp.sendcmd('SITE CHMOD '+str(permissions)+' '+filename)
79
80 def is_there(self, path):
81 try:
82 self.ftp.sendcmd('MLST '+path)
83 return True;
84 except:
85 return False;
86
87 def rename_dir(self, rename_from, rename_to):
88 self.ftp.sendcmd('RNFR '+ rename_from)

Callers 3

move_dirMethod · 0.95
upload_fileMethod · 0.95
upload_dirMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected