no message
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package Visual_DVM_2021.Passes.Server;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Utils.CommonUtils;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.Utils.Utils;
|
||||
import Repository.RepositoryRefuseException;
|
||||
@@ -71,7 +72,7 @@ public abstract class RepositoryPass<S extends RepositoryServer, T> extends Pass
|
||||
}
|
||||
}
|
||||
protected void SendFile(File src, String dst) throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.SendFile, dst, Utils.packFile(src)));
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.SendFile, dst, CommonUtils.fileToBytes(src)));
|
||||
}
|
||||
protected void ReceiveFile(String src, File dst) throws Exception {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.ReceiveFile, src));
|
||||
|
||||
Reference in New Issue
Block a user