|
FTP Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Object | +--FileReceipt
| Constructor Summary | |
FileReceipt()
|
|
| Method Summary | |
abstract String |
enterDirectory(String entity,
String physDirName,
String virtDirName,
String configDir,
LogMsg log)
Method called when a directory is entered. |
abstract void |
getAfter(String entity,
String fileName,
long byteCount,
String configDir,
LogMsg log)
Method called when a file is retrieved from the FTP server. |
abstract String |
getBefore(String entity,
String fileName,
String configDir,
LogMsg log)
Method called just before a file is retrieved from the FTP server. |
abstract void |
putAfter(String entity,
String fileName,
long byteCount,
String configDir,
LogMsg log)
Method called when a file is stored by the FTP server. |
abstract String |
putBefore(String entity,
String fileName,
String configDir,
LogMsg log)
Method called just before a file is stored by the FTP server. |
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileReceipt()
| Method Detail |
public abstract String getBefore(String entity,
String fileName,
String configDir,
LogMsg log)
The method may return a null indicating the file may be downloaded or
a status code and information if it cannot. Typically a refusal looks like:
553 Requested action not taken.
entity - Name of the entity downloading the file.fileName - Physical path of the file retrieved by the FTP server.configDir - Configuration directory as supplied on the FTP server command line.log - LogMsg object for logging.
public abstract void getAfter(String entity,
String fileName,
long byteCount,
String configDir,
LogMsg log)
entity - Name of the entity downloading the file.fileName - Physical path of the file retrieved by the FTP server.byteCount - Number of bytes downloaded.configDir - Configuration directory as supplied on the FTP server command line.log - LogMsg object for logging.
public abstract String putBefore(String entity,
String fileName,
String configDir,
LogMsg log)
The method may return a null indicating the file may be uploaded or
a status code and information if it cannot. Typically a refusal looks like:
553 Requested action not taken.
entity - Name of the entity uploading the file.fileName - Physical path of the file stored by the FTP server.configDir - Configuration directory as supplied on the FTP server command line.log - Log object for creating log entries, if necessary. This writes to the main server log.
public abstract void putAfter(String entity,
String fileName,
long byteCount,
String configDir,
LogMsg log)
entity - Name of the entity uploading the file.fileName - Physical path of the file stored by the FTP server.byteCount - Number of bytes uploaded.configDir - Configuration directory as supplied on the FTP server command line.log - Log object for creating log entries, if necessary. This writes to the main server log.
public abstract String enterDirectory(String entity,
String physDirName,
String virtDirName,
String configDir,
LogMsg log)
entity - Name of the entity uploading the file.physDirName - Physical path of the directory.virtDirName - Virtual path of the directory.configDir - Configuration directory as supplied on the FTP server command line.log - Log object for creating log entries, if necessary. This writes to the main server log.
|
FTP Server | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||