Lines Matching refs:remote
31 remote = FSProxy.FSProxyClient(address, verbose)
32 compare(local, remote, mode)
33 remote._close()
50 def compare(local, remote, mode): argument
53 sums_id = remote._send('sumlist')
54 subdirs_id = remote._send('listsubdirs')
55 remote._flush()
61 sums = remote._recv(sums_id)
69 recvfile(local, remote, name)
74 rmtime = remote.mtime(name)
79 recvfile(local, remote, name)
83 sendfile(local, remote, name)
92 sendfile(local, remote, name)
98 subdirs = remote._recv(subdirs_id)
125 remote.cd(name)
126 compare(local, remote, mode)
127 remote.back()
130 def sendfile(local, remote, name): argument
132 remote.create(name)
144 remote._send_noreply('write', name, data)
145 remote._flush()
155 def recvfile(local, remote, name): argument
158 rv = recvfile_real(local, remote, name)
166 def recvfile_real(local, remote, name): argument
181 id = remote._send('read', name, offset, length)
182 remote._flush()
185 newid = remote._send('read', name, newoffset, length)
186 data = remote._recv(id)
202 remote._recv(id) # ignored