Beispiel #1
0
 def rmove(self, src, dst):
     from pycopia.remote import Client
     agent = Client.get_remote(self.name.split(".")[0])
     Client.remote_copy(agent, src, dst)
     agent.unlink(src)
Beispiel #2
0
 def rcopy(self, argv):
     """rcopy <remotefile> <localfile>
 Copies a file from the remote agent to the local file system."""
     src = argv[1]
     dest = argv[2]
     Client.remote_copy(self._obj, src, dest)
Beispiel #3
0
 def rcopy(self, argv):
     """rcopy <remotefile> <localfile>
 Copies a file from the remote agent to the local file system."""
     src = argv[1]
     dest = argv[2]
     remoteclient.remote_copy(self._client, src, dest)
Beispiel #4
0
 def rmove(self, src, dst):
     from pycopia.remote import Client
     agent = Client.get_remote(self.name.split(".")[0])
     Client.remote_copy(agent, src, dst)
     agent.unlink(src)