|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFTPOptions
The IFTPOptions object allows you to set the global or schedule options to an FTP location.
| Method Summary | |
|---|---|
void |
clearServerInfo()
Clears all settings related to server connection and authentication: Server Name Port User Name Password If these fields are cleared, when the InfoObject is processed the defaults specified on the processing Job Server will be used for connection and authentication. |
java.lang.String |
getAccount()
Returns the FTP account to log on to. |
java.util.List |
getDestinationFiles()
Returns the collection used to add, delete, and modify FTP destination files. |
IDestinationOutputByDocs |
getDestinationFilesByDocs()
Destination output files personalized for individual source documents. |
int |
getPort()
Returns the FTP server listening port. |
java.lang.String |
getServerName()
Returns the FTP server name. |
java.lang.String |
getUserName()
Returns the FTP logon name. |
boolean |
isPasswordNotEmpty()
Returns a boolean indicating whether the password is set and not empty. |
boolean |
isPasswordSet()
Returns a boolean indicating whether the password is set. |
void |
setAccount(java.lang.String sVal)
Sets the FTP account to log on to. |
void |
setPassword(java.lang.String sVal)
Sets the password to log on to the FTP server. |
void |
setPort(int lVal)
Sets the FTP server listening port. |
void |
setServerName(java.lang.String sVal)
Sets the FTP server name. |
void |
setUserName(java.lang.String sVal)
Sets the FTP logon name. |
| Methods inherited from interface com.crystaldecisions.sdk.plugin.destination.common.IDestinationScheduleOptions |
|---|
getInputFiles |
| Method Detail |
|---|
java.lang.String getServerName()
Returns the FTP server name.
String containing the FTP server name.void setServerName(java.lang.String sVal)
Sets the FTP server name.
sVal - A String containing the FTP server name.int getPort()
Returns the FTP server listening port.
int specifying the FTP server listening port.void setPort(int lVal)
Sets the FTP server listening port.
lVal - An int specifying the FTP server listening port.java.lang.String getUserName()
Returns the FTP logon name.
String containing the FTP logon name.void setUserName(java.lang.String sVal)
Sets the FTP logon name.
sVal - A String containing the FTP logon name.void setPassword(java.lang.String sVal)
Sets the password to log on to the FTP server.
sVal - A String containing the password to log on to the FTP server.
boolean isPasswordSet()
throws SDKException
Returns a boolean indicating whether the password is set.
true if the password is set, falseThrows:
SDKException - This is thrown if the process is unsuccessful.
boolean isPasswordNotEmpty()
throws SDKException
Returns a boolean indicating whether the password is set and not empty.
true if the password is set and not empty, falseThrows:
SDKException - This is thrown if the process is unsuccessful.void clearServerInfo()
Clears all settings related to server connection and authentication:
Server Name
Port
User Name
Password
If these fields are cleared, when the InfoObject is processed the defaults
specified on the processing Job Server will be used for connection and
authentication.
java.lang.String getAccount()
Returns the FTP account to log on to. This can be left empty.
String containing the FTP account to log on to.void setAccount(java.lang.String sVal)
Sets the FTP account to log on to. This can be left empty.
sVal - A String containing the FTP account to log on to.java.util.List getDestinationFiles()
Returns the collection used to add, delete, and modify FTP destination files.
List containing the collection used to add, delete, and modify
FTP destination files. This List contains String objects.IDestinationOutputByDocs getDestinationFilesByDocs()
IDestinationOutputPerDoc
which, in this case, represents a file collection of type String.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||