Download MINISOFT®92
Transcript
APPENDIX F: NFT’S OLE AUTOMATION AND MACRO LANGUAGE SpacesPerTab, type integer, write access This property sets the distance between tab stops and enables changing tab characters to spaces to fill the next tab stop. It is used only on ASCII uploads. A value of 0 disables the replacement of tab characters. Valid values are between 0 and 9. The default is 0. UserPassword, type String, write access The string used for the user password when connecting to the host’s FTP server program. METHOD REFERENCE Boolean ChangeDirectory( String Directory ) This method attempts to change the current directory of the host’s FTP server program to the directory specified by the Directory parameter. A return of True indicates that the current directory was changed. Boolean Connect() This method attempts to connect to the host’s FTP server program at the host name or IP address specified by the HostAddress property. The LoginUser, UserPassword, and AccountPassword (optional) properties should be set before calling the Connect method. Connect sets the ConnectStatus property and returns True if the connection request succeeded, else it returns False. String CurrentDirectory() This method returns the name of the current directory of the host’s FTP server program. Boolean DeleteFile( String FileName ) This method deletes the host file specified by the FileName parameter. A return of True indicates that the file was deleted. void Disconnect() This method disconnects from the host’s FTP server program. Boolean Login() This method changes the host server login to that specified by the LoginUser, UserPassword, and AccountPassword (optional) properties. A return of True indicates that the login was changed successfully. F-12 MINISOFT 92