FTPit Pro

Transfer files to and from an FTP server

<- Back to FTPit Pro function list

FTPit_GetRemoteListItem

Description

Use this function to get a list of all the items in the Remote Directory. Use the FTPit_ChangeRemoteDir function to set the Remote 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 Type
Text
Format
FTPit_GetRemoteListItem ( Which ; Wildcard )
Required Parameters
  • Which

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

    • "First" - Retrieves the First List Item.
    • "Next" - Retrieves the Next List Item. (Returns nothing if there are no more List Items.)
    • Number - Retrieves the List Item corresponding to that Number.
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.)

Related Items
FTPit_GetRemoteListCount