public class Receiver extends ArcIF
| Constructor and Description |
|---|
Receiver(java.lang.String dirname)
Class constructor specifying the local directory to be used.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CloseFTPServer()
Closes the FTP server.
|
org.apache.ftpserver.usermanager.impl.BaseUser |
CreateUserAccount(java.lang.String username,
java.lang.String password,
java.lang.String homeDir)
Creates a user account with the specified credentials.
|
void |
SetupFTPServer()
Sets up the FTP server and creates a user account that will access the local temporary directory.
|
void |
StartFTPServer() |
public Receiver(java.lang.String dirname)
dirname - the name of the local directory.public void SetupFTPServer()
public void StartFTPServer()
public void CloseFTPServer()
public org.apache.ftpserver.usermanager.impl.BaseUser CreateUserAccount(java.lang.String username,
java.lang.String password,
java.lang.String homeDir)
username - the username of the account.password - the password of the accounthomeDir - the local directory that will be accessed by the user