Public Member Functions | |
| TBTVisualFTP (TComponent AOwner) | |
| Constructor. | |
| ~TBTVisualFTP () | |
| Destructor. | |
| MyOnLog (TObject Sender, const TLogLevel LogLevel, const string LogText) | |
| The FtpLogger logging method, this method is public so you can add it to your own logging method. | |
| Boolean | Connect () |
| Connect to the remote server. | |
| Boolean | Connected () |
| Checks if there is an active Ftp connection. | |
| Disconnect () | |
| Disconnect from the remote server. | |
Public Attributes | |
| TActionList | FtpActionList |
| The internal ActionList of the popup menu. | |
| Boolean | Busy |
| This property is True if file transfer is in progress. | |
| TIdFtp | Ftp |
| The Internet Direct (Indy) FTP component. | |
| TFtpPrivileges | FtpClientPrivileges |
| FTP client rights. | |
| TStrings | FtpHistory |
| A list of directories which have been visited. | |
| TLogger | FtpLogger |
| Provides logging methods. | |
| TOptionsBehaviour | FtpOptionsBehaviour |
| Controls the behaviour of the component. | |
| TOptionsView | FtpOptionsView |
| View options. | |
| string | FtpRemoteDir |
| Initial remote server directory. | |
| AnsiString | FtpVersion |
| The component version. | |
| TNotifyEvent | OnChange |
| Event which will be called after changes. | |
| TNotifyEvent | OnAfterChangeDir |
| Event which will be called after a Cwd. | |
| TNotifyEvent | OnConnect |
| Event which will be called after a successful Connect. | |
| TNotifyEvent | OnDisconnect |
| Event which will be called after Disconnect. | |
| TNotifyEvent | OnDownloadComplete |
| Event which will be called after a download. | |
| TFtpProgressEvent | OnFileProgress |
| Event which can be used to display the transfer progress for the current file. | |
| TFtpProgressEvent | OnFilesProgress |
| Event which can be used to display current and total number of files. | |
| TGetLocalFileEvent | OnGetLocalFile |
| Event which will be called to get a local file name. | |
| TNotifyEvent | OnUploadComplete |
| Event which will be called after a upload. | |
| Boolean TBTVisualFTP::Connect | ( | ) |
Connect to the remote server.
| If | Host property is empty | |
| If | Username property is empty |
| Boolean TBTVisualFTP::Connected | ( | ) |
Checks if there is an active Ftp connection.
| TBTVisualFTP::Disconnect | ( | ) |
Disconnect from the remote server.
This method also calls the OnDisconnect event handler.
| TBTVisualFTP::MyOnLog | ( | TObject | Sender, | |
| const TLogLevel | LogLevel, | |||
| const string | LogText | |||
| ) |
The FtpLogger logging method, this method is public so you can add it to your own logging method.
The following example shows a custom log event handler, which also uses a statusbar to display the log message:
procedure TForm1.BTVisualFTP1Log(Sender: TObject; const LogLevel: TLogLevel; const LogMessage: string); begin BTVisualFTP1.MyOnLog(Sender, LogLevel, LogMessage); Statusbar1.SimpleText := LogMessage; end;
This property is True if file transfer is in progress.
SetBusy For writing
The Internet Direct (Indy) FTP component.
SetIdFTP For writing
The internal ActionList of the popup menu.
FTP client rights.
SetFtpClientPrivileges For writing
A list of directories which have been visited.
SetFtpHistory For writing
Provides logging methods.
SetLogger For writing
Controls the behaviour of the component.
FFtpOptionsBehaviour For writing
View options.
FFtpOptionsView For writing
Initial remote server directory.
SetRemoteDir For writing
The component version.
False For writing
Event which will be called after a Cwd.
FOnAfterChangeDir For writing
Event which will be called after changes.
FOnChange For writing
Event which will be called after a successful Connect.
FOnConnect For writing
Event which will be called after Disconnect.
FOnDisconnect For writing
Event which will be called after a download.
FOnDownloadComplete For writing
Event which can be used to display the transfer progress for the current file.
FOnFileProgress For writing
Event which can be used to display current and total number of files.
FOnFilesProgress For writing
Event which will be called to get a local file name.
FOnGetLocalFile For writing
Event which will be called after a upload.
FOnUploadComplete For writing
- Project hosted on