Product Logo

FTPit Pro

Transfer files to and from an FTP server

Functions
FunctionFTPit_AddAccount
FunctionFTPit_Configure
FunctionFTPit_ConfigureAccount
FunctionFTPit_Connect
FunctionFTPit_Disconnect
FunctionFTPit_DownloadDir
FunctionFTPit_DownloadFile
FunctionFTPit_DownloadText
FunctionFTPit_ExportContainer
FunctionFTPit_GetAccountNames
FunctionFTPit_GetAccountOption
FunctionFTPit_GetLastResult
FunctionFTPit_GetQueueList
FunctionFTPit_ImportContainer
FunctionFTPit_IsConnected
FunctionFTPit_LocalChangeDir
FunctionFTPit_LocalChangeDirUp
FunctionFTPit_LocalCopyFile
FunctionFTPit_LocalCurrentDir
FunctionFTPit_LocalDeleteDir
FunctionFTPit_LocalDeleteFile
FunctionFTPit_LocalDirExists
FunctionFTPit_LocalFileExists
FunctionFTPit_LocalFileSize
FunctionFTPit_LocalFileTimestamp
FunctionFTPit_LocalListCount
FunctionFTPit_LocalListItem
FunctionFTPit_LocalMakeDir
FunctionFTPit_LocalMoveFile
FunctionFTPit_LocalPath
FunctionFTPit_LocalReadFile
FunctionFTPit_LocalRenameDir
FunctionFTPit_LocalRenameFile
FunctionFTPit_LocalSelectDirWithDialog
FunctionFTPit_LocalSelectFileWithDialog
FunctionFTPit_LocalWriteFile
FunctionFTPit_QuickDownload
FunctionFTPit_QuickUpload
FunctionFTPit_Register
FunctionFTPit_RemoteChangeDir
FunctionFTPit_RemoteChangeDirUp
FunctionFTPit_RemoteCurrentDir
FunctionFTPit_RemoteDeleteDir
FunctionFTPit_RemoteDeleteFile
FunctionFTPit_RemoteDirExists
FunctionFTPit_RemoteFileExists
FunctionFTPit_RemoteFileSize
FunctionFTPit_RemoteFileTimestamp
FunctionFTPit_RemoteListCount
FunctionFTPit_RemoteListItem
FunctionFTPit_RemoteMakeDir
FunctionFTPit_RemoteRenameDir
FunctionFTPit_RemoteRenameFile
FunctionFTPit_RemoteSendCommand
FunctionFTPit_RemoveAccount
FunctionFTPit_SetAccountOption
FunctionFTPit_StatusWindow
FunctionFTPit_UploadDir
FunctionFTPit_UploadFile
FunctionFTPit_UploadText
FunctionFTPit_Version
FunctionFTPit_VersionNumber

FTPit_Register

NameFTPit_Register
Description

You can use this function to Register the plug-in from a script instead of through the Configuration Dialog. This is useful when the plug-in is being distributed to many computers, allowing you to intall and register the plug-in without having to physically visit each computer. This function also allows you to check if the plug-in is already registered or clear the current registration. The plug-in always requires you to accept the License Agreement to use the plug-in. This is usually done by presenting the License Agreement Dialog, but that can be suppressed by using the special option value “I Accept the License Agreement”.

Return TypeText
FormatFTPit_Register ( FirstName ; SecondName ; LicenseKey ; Option )
Required Parameters
FirstName

The Registration First Name you specified when you ordered. (See your Receipt.)

SecondName

The Registration Second Name you specified when you ordered. (See your Receipt.)

LicenseKey

The License Key from your Receipt.

Optional Parameters
Option

Specify “Dialog” to enter your Registration Information in a dialog.
Specify “Check” to see if the plug-in is already Registered.
Specify “Clear” to remove the Registration.
Specify “I Accept the License Agreement” to automatically accept the License Agreement dialog without showing it to the end user.
Notes: The “Dialog”, “Check”, and “Clear” options can also be specified as the first parameter.

Examples
Example 1

Registers the plug-in with the provided registration information (obviously the above is not valid registration information; please see your Receipt).

FTPit_Register( "My First Name" ; "My Last Name" ; "My License Key" )
Example 2

Displays a dialog for you to enter your First Name, Last Name, and License Key as it appears on your Receipt.

FTPit_Register( "Dialog" )
Example 3

Returns "Not Registered." or "Registered to <Name> for a <License>."

FTPit_Register( "Check" )
Example 4

Registers the plug-in and uses the "I Accept the License Agreement" option to keep the License Agreement dialog from appearing.

FTPit_Register( "My Company Name" ; "My Company Name" ; "My Site License Key" ; "I Accept the License Agreement" )