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_VersionAutoUpdate

FTPit_LocalListItem

NameFTPit_LocalListItem
Description

Use this function to get information for one file/directory in the local directory. Use the FTPit_ChangeLocalDir function to set the Local Directory prior to calling this function. Setting the Which parameter to “First” will retrieve the first item in the directory. Use “Next” to retrieve all additional items. You can specify the number of the item as listed by the plug-in to get information about a specific item.

Return TypeText
FormatFTPit_LocalListItem ( Which ; Wildcard ; FieldSeparator ; RowSeparator )
Required Parameters
Which

Which Local List Item you want to retrieve. You can specify one of the following:

  • "First" - Retrieves the First List Item.
  • "Next" - Returns the next list item. [This returns nothing when there are no more items to return.]
  • Number - Retrieves the List Item corresponding to that Number.
  • "All" = Returns all the items in a format suitable for the Virtual List Technique.
Optional Parameters
Wildcard

Defines a File Name Pattern to match when looking for Files. [eg. “*.txt” would return all files with a “txt” file extension; Default is to return all files.]

FieldSeparator

If Which = “All”, this defines the separator to use between the fields of information about a single file. [Default is “||”.]

RowSeparator

If Which = “All”, this defines the separator to use between multiple files. [Default is a return.] */