Lines Matching refs:remotepath
152 def copy_to(self, localpath, remotepath): argument
155 command = self.scp + [localpath, '%s@%s:%s' % (self.user, self.ip, remotepath)]
158 def copy_from(self, remotepath, localpath): argument
159 command = self.scp + ['%s@%s:%s' % (self.user, self.ip, remotepath), localpath]
162 def copy_dir_to(self, localpath, remotepath): argument
171 new_dir = os.path.join(remotepath, tmp_dir.lstrip("/"))
178 dst_file = os.path.join(remotepath, tmp_file.lstrip("/"))
183 def delete_files(self, remotepath, files): argument
193 cmd = "%s %s" % (cmd, os.path.join(remotepath, f))
198 def delete_dir(self, remotepath): argument
203 cmd = "rmdir %s" % remotepath
207 def delete_dir_structure(self, localpath, remotepath): argument
236 remotedir = os.path.join(remotepath, tmpdir.lstrip("/"))
242 remotedir = os.path.join(remotepath, tmpdir.lstrip("/"))
243 self.delete_dir(remotepath)