no message
This commit is contained in:
@@ -72,18 +72,6 @@ public abstract class RepositoryPass<S extends RepositoryServer, T> extends Pass
|
||||
break;
|
||||
}
|
||||
}
|
||||
protected void SendFile(File src, String dst) throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.SendFile, dst, Utils_.fileToBytes(src)));
|
||||
}
|
||||
protected void ReceiveFile(String src, File dst) throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.ReceiveFile, src));
|
||||
if (server_response.object != null)
|
||||
server_response.Unpack(dst);
|
||||
}
|
||||
protected String ReadFile(String src) throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.ReadFile, src));
|
||||
return server_response.object.toString();
|
||||
}
|
||||
@Override
|
||||
protected void body() throws Exception {
|
||||
connect();
|
||||
|
||||
Reference in New Issue
Block a user