public class ServerFile extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FileDownload |
static String |
FileUpload |
| Constructor and Description |
|---|
ServerFile(String directory) |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadFile(Socket socket)
download (send) a server file to client
|
void |
start() |
protected void |
startDownloadServerSocket() |
protected void |
startUploadServerSocket() |
void |
stop() |
void |
uploadFile(Socket socket)
save file from client to server.
|
public static final String FileUpload
public static final String FileDownload
public ServerFile(String directory)
Copyright © 1999–2025 ViaOA. All rights reserved.