Update
This commit is contained in:
parent
cdc9fbdefb
commit
549c1f30f2
@ -741,7 +741,7 @@ namespace Server
|
||||
Text = "fileManager:" + client.ID,
|
||||
F = this,
|
||||
Client = client,
|
||||
FullPath = Path.Combine(Application.StartupPath, "ClientsFolder", client.ID, "RemoteDesktop")
|
||||
FullPath = Path.Combine(Application.StartupPath, "ClientsFolder", client.ID)
|
||||
};
|
||||
fileManager.Show();
|
||||
ThreadPool.QueueUserWorkItem(client.Send, msgpack.Encode2Bytes());
|
||||
|
@ -158,7 +158,7 @@ namespace Server.Handle_Packet
|
||||
File.Delete(filename);
|
||||
await Task.Delay(500);
|
||||
}
|
||||
await Task.Run(() => SaveFileAsync(unpack_msgpack.ForcePathObject("File"), Path.Combine(Application.StartupPath, "ClientsFolder\\" + SD.Text.Replace("socketDownload:", "") + "\\" + unpack_msgpack.ForcePathObject("Name").AsString)));
|
||||
await Task.Run(() => SaveFileAsync(unpack_msgpack.ForcePathObject("File"), filename));
|
||||
SD.Close();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user