This file contains information about the installation and use of WinAgents TFTP ActiveX Control.
WinAgents TFTP ActiveX Control is an ActiveX component that implements the client's side of TFTP protocol. Main features of WinAgents TFTP ActiveX Control:
Supported Interfaces: ITFTPClient, _DTFTPClientEvents, IPersistStreamInit, IOleControl, IOleObject, IViewObjectEx, IOleInPlaceObject, ISupportErrorInfo, IConnectionPointContainer, IPersistStorage, ISpecifyPropertyPages, IQuickActivate, IDataObject, IProvideClassInfo2.
ITFTPClient Interface provides for methods and specifications necessary for working with TFTP protocol from the client's side.
interface ITFTPClient : IDispatch{ [propget] HRESULT Server([out, retval] BSTR* pVal); // IP- address or DNS-name of TFTP server [propput] HRESULT Server([in] BSTR newVal); [propget] HRESULT Port([out, retval] USHORT* pVal); // Port # (69 by default) [propput] HRESULT Port([in] USHORT newVal); [propget] HRESULT Retries([out, retval] ULONG* pVal); // Maximum number of retries for the data transfer [propput] HRESULT Retries([in] ULONG newVal); [propget] HRESULT Timeout([out, retval] ULONG* pVal); // Timeout value for the data transfer [propput] HRESULT Timeout([in] ULONG newVal); [propget] HRESULT Mode([out, retval] TFTP_MODE* pVal); // Transfer mode 0 - ASCII, 1 - BINARY [propput] HRESULT Mode([in] TFTP_MODE newVal); HRESULT RecvFile([in] BSTR RemoteFile, [in] BSTR LocalFile); // Receiving file from server HRESULT SendFile([in] BSTR RemoteFile, [in] BSTR LocalFile); // Sending file to server HRESULT GetOption([in] BSTR Name, [out,retval] BSTR* Value); // receiving option value HRESULT SetOption([in] BSTR Name, [in] BSTR Value); // setting option value HRESULT ClearOptions(void); // clear options list HRESULT GetOptionCount([out,retval] ULONG* Count); // receiving number of options in the list };
_DTFTPClientEvents Interface provides for methods of receiving notifications about events in the process of file transfer.
dispinterface _DTFTPClientEvents { HRESULT OnTransferStart(void); HRESULT OnTransferComplete([in] ULONG BytesTransferred); HRESULT OnConnect(void); HRESULT OnDisconnect(void); HRESULT OnProgress([in] ULONG PercentDone, [in] ULONG BytesTransferred); };
To install the component to your computer, copy the TFTPClientAX.dll file into the hard disk directory and register it with the help of regsvr32.exe. For this purpose it is necessary to switch to the directory containing TFTPClientAX.dll file and run the following command:
>regsvr32.exe TFTPClientAX.dll
Upon the command completion the message will appear about the successful component registration.
The component package contains the following files and directories:
To remove the demo-version restrictions, it is necessary to purchase the license for WinAgents TFTP ActiveX. You can find information about purchasing the license on the web site: http://www.tftp-server.com/order.html.
On the WinAgents web site you can find the most recent software updates and user documentation.
World Wide Web: HTTP://WWW.WINAGENTS.COM
If you encounter problems while installing or using this product, or would like information about other WinAgents products, please contact us via e-mail support@winagents.com.
If you have purchased license for one of our products, please write to reg_support@winagents.com. We will quickly respond to all questions sent to this e-mail address. Please include registration e-mail address and your name in the message in order for us to identify your license.