public class TestFTPSiteInterface extends java.lang.Object implements FTPSiteInterface
Implements the FTPSiteInterface to accept custom SITE commands.
Constructor and Description |
---|
TestFTPSiteInterface() |
Modifier and Type | Method and Description |
---|---|
void |
initializeSiteInterface(ServerConfiguration config,
org.springframework.extensions.config.ConfigElement params)
Initialize the FTP site interface
|
void |
processFTPSiteCommand(FTPSrvSession sess,
FTPRequest req)
Process the FTP SITE command
|
public void initializeSiteInterface(ServerConfiguration config, org.springframework.extensions.config.ConfigElement params)
initializeSiteInterface
in interface FTPSiteInterface
config
- ServerConfigurationparams
- ConfigElementpublic void processFTPSiteCommand(FTPSrvSession sess, FTPRequest req) throws java.io.IOException
processFTPSiteCommand
in interface FTPSiteInterface
sess
- FTPSrvSessionreq
- FTPRequestjava.io.IOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.