1.Properties:Back to top
|
AllowType:
The file type allowed to be uploaded/downloaded,each separated by ';',such as "txt;doc";
|
Busy:
Indicates whether an operation is in progress.
If an operation is in progress this value is true, otherwise false.
|
Connected:
Checks whether or not the client is connected to server,return true on success and
false on failure;
|
DenyType:
The file type denied to be uploaded/downloaded,each separated by ';',such as "exe;bat";
|
ErrorInfo:
Detailed description of error;
|
ErrorNumber:
The number of error;View error number listing
|
FileSize:
The total size of the file in transferring;
|
KeepAliveInterval:
Keep alive every "KeepAliveInterval" seconds;
|
LangInfo:Back to top
Gets or sets the caption of the ftp ocx;
The step of supporting other languages:
1.Get all the words of the ocx to a string variable from property 'FtpLibrary1.LangInfo';
2.Translate the words from english into other languages.
3.Set the translated words to property 'FtpLibrary1.LangInfo' for other languages
supported.
|
LeftTime:
The remaining time of current transfer, unit is second;
|
LocalPath:Back to top
The file path to be uploaded or the save path of download;
|
MaxSize:
The maximum file size of a transfer, unit is MB;
|
MaxSpeed:
The maximum speed of upload or download,unit is KB;
|
MessageInfo:
The information responsed from ftp server.
It is always used in event 'OnMessage';
|
Overwrite:
Specifies whether or not to overwrite the existing files.
1:Default:Display "Confirm File Replace" dialog;
2.If it's true,the file will be replaced;
3.If it's false,the transfer will resume automatically;
You can also control the dialog by property ReplaceIndex;
|
Passive:
Specifies whether or not to use passive mode, default is true;
|
Password:Back to top
The password to log in ftp server;
|
Percent:
The percent of the file transfer completed;
It is always used in event 'OnTransfer';
|
Percent2:
The permillage of the file transfer completed, maximum value is 1000;
|
QueueIndex:
The sequence of transferring file on transfer queue.
It is always used in event 'OnTransfer';
|
QueueTotal:
The number of files on transfer queue.
It is always used in event 'OnTransfer';
|
RetryTimes:
Automatic reconnect and resume transfer how many times when the connection is lost
or broken.
|
RemotePath:
The remote file path on server.
|
Port:
The port number of server, default is 21;
|
RenameRule:
The rule of rename a file automatically;
Default is "{oldname}1",it means that {oldname} will be replaced with
old file name;
For example:
If the old file name is "test.htm",the new file name will become "test1.htm"
after rename.
|
ReplaceIndex:
The value of 'ReplaceIndex' is used to control the buttons in 'Confirm File Replace'.
The selectable value of 'ReplaceIndex' is:
0:Show 'Confirm file Replace' dialog;
1:Overwrite;
2:Resume;
3:Skip;
4:Rename;(The rule of rename is set by property 'RenameRule')
|
ServerName:
Host name of server;
|
Speed:
Transfer speed, unit is bytes/s;
You can call the method "FormatSize(FtpLibrary1.Speed)/s" to convert the unit
to "KB/s" or "MB/s";
It is always used in event 'OnTransfer';
|
Timeout:
Specifies the timeout in seconds for the connection, default is 30 seconds;
|
TransferredSize:
The size of the file transfer completed, unit is byte;
It is always used in event 'OnTransfer';
|
Username:
The user name to log in ftp server, default is anonymous;
|
UseSSL:
Using Implicit SSL Connection.
|
UseExSSL:
Using Explicit SSL Connection.
|
Version:
The version of ActiveX control;
|