|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IFTPOptions object allows you to set the global or schedule options to an FTP location.
| Method Summary | |
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. |
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. |
| Method Detail |
public java.lang.String getServerName()
Returns the FTP server name.
String containing the FTP server name.public void setServerName(java.lang.String sVal)
Sets the FTP server name.
sVal - A String containing the FTP server name.public int getPort()
Returns the FTP server listening port. The default value is 21.
int specifying the FTP server listening port.public void setPort(int lVal)
Sets the FTP server listening port. The default is 21.
lVal - An int specifying the FTP server listening port.public java.lang.String getUserName()
Returns the FTP logon name. The default is Anonymous.
String containing the FTP logon name.public void setUserName(java.lang.String sVal)
Sets the FTP logon name. The default is Anonymous.
sVal - A String containing the FTP logon name.public void setPassword(java.lang.String sVal)
Sets the password to log on to the FTP server. The default is
CrystalDecisions.com.
sVal - A String containing the password to log on to the FTP server.
public 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.
public 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.public 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.public 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.public 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||