> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# appmixer.utils.ftp.List

- Component: `appmixer.utils.ftp.List`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.utils.ftp 1.4.2](https://connectors.appmixer.com/connector/appmixer.utils.ftp/1.4.2.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.utils.ftp/1.4.2/component/appmixer.utils.ftp.List>

List files and directories in the current working directory, or at path if specified.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Path (`path`) | text | The path at which you want to list files and directories. E.g. "/tmp" |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Content (`content`) | array | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.utils.ftp.List",
  "author": "David Durman <david@client.io>",
  "description": "List files and directories in the current working directory, or at path if specified.",
  "auth": {
    "service": "appmixer:utils:ftp"
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          }
        }
      },
      "inspector": {
        "inputs": {
          "path": {
            "type": "text",
            "label": "Path",
            "index": 1,
            "tooltip": "The path at which you want to list files and directories. E.g. \"/tmp\""
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "Content",
          "value": "content",
          "schema": {
            "type": "array",
            "example": [
              {
                "name": "invoice-1001.pdf",
                "type": 1,
                "size": 20480,
                "rawModifiedAt": "Mar 15 10:30",
                "permissions": {
                  "user": 6,
                  "group": 4,
                  "world": 4
                },
                "hardLinkCount": 1,
                "group": "ftp",
                "user": "ftp"
              },
              {
                "name": "archive",
                "type": 2,
                "size": 4096,
                "rawModifiedAt": "Mar 10 08:15",
                "permissions": {
                  "user": 7,
                  "group": 5,
                  "world": 5
                },
                "hardLinkCount": 2,
                "group": "ftp",
                "user": "ftp"
              }
            ]
          }
        }
      ]
    }
  ],
  "icon": "(data URI omitted)"
}
```
