<- Back to FTPit Pro function list
FTPit_AddAccount
- Description
This function adds a new account with the specified name. You can create accounts within the plug-in that contain different FTP server information. After creating accounts, you can use the FTPit_Connect function to connect and transfer files from them. You can also create accounts using the Account Configuration Dialog available from the FTPit_ConfigureAccount function.
- Return Type
- Text
- Format
- FTPit_AddAccount ( AccountName )
- Required Parameters
- AccountName
The Name for the new Account.
- AccountName
- Related Items
- FTPit_ConfigureAccount, FTPit_Connect, FTPit_GetAccountNames, FTPit_GetAccountOption, FTPit_RemoveAccount, FTPit_SetAccountOption
- Examples
Example 1
Code:
FTPit_AddAccount("work ftp")Result:
Creates an account with the name "work ftp".Example 2
Code:
FTPit_AddAccount( Data::Account )Result:
Creates an account using the text contained in the "Account" field name of the "Data" table.