| java.lang.Object |
| ↳ |
org.mule.modules.ftps.FTPSConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Class Overview
The FTPS Connector allows you to establish a secure FTP connection
Summary
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Constants
private
static
final
String
DEFAULT_FILE_EXT
Fields
private
static
final
Logger
logger
private
MuleContext
muleContext
Public Constructors
Public Methods
public
void
read
(SourceCallback callback, String filePath, String fileName, String moveToDir, int pollingPeriod, String specId)
Parameters
| callback
| Used to pass the payload of the read file to the next component in the flow |
| filePath
| The path to the file to be read from the server |
| fileName
| The filename to be read from the server (wildcards supported) |
| moveToDir
| Directory to move files to after they've been read. If no value is set, the file will be deleted |
| pollingPeriod
| The period to wait between checking the server for updates |
| specId
| FTPS Specification ID taken from the B2B system when in use |
public
void
setConnectorConfig
(ConnectorConfiguration connectorConfig)
Parameters
| connectorConfig
| The connectorConfig to set
|
public
void
setMuleContext
(MuleContext muleContext)
public
String
write
(String filePath, String fileName, String specId, InputStream payload, MuleEvent event)
Parameters
| filePath
| The path to the file to be read from the server. |
| fileName
| Prefix for the new file to be created |
| specId
| FTPS Specification ID taken from the B2B system when in use. |
| payload
| Event where to read the payload from |
| event
| |
Returns
- the definitive filename stored on the server