{
  "name": "ftp",
  "display_name": "FTP",
  "description": "Transfer files via FTP or SFTP",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "ftp",
      "required": true
    },
    {
      "name": "sftp",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "protocol",
      "display_name": "Protocol",
      "kind": "options",
      "required": false,
      "default": "ftp",
      "description": "File transfer protocol"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "download",
      "description": "Delete a file/folder"
    },
    {
      "name": "path",
      "display_name": "Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The file path of the file to delete. Has to contain the full path."
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "description": "Whether folders can be deleted"
    },
    {
      "name": "path",
      "display_name": "Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The file path of the file to download. Has to contain the full path."
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Put Output File in Field",
      "kind": "string",
      "required": true,
      "default": "data"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "description": "Whether to enable concurrent reads for downloading files"
    },
    {
      "name": "oldPath",
      "display_name": "Old Path",
      "kind": "string",
      "required": true,
      "default": ""
    },
    {
      "name": "newPath",
      "display_name": "New Path",
      "kind": "string",
      "required": true,
      "default": ""
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "description": "Whether to recursively create destination directory when renaming an existing file or folder"
    },
    {
      "name": "path",
      "display_name": "Path",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The file path of the file to upload. Has to contain the full path."
    },
    {
      "name": "binaryData",
      "display_name": "Binary File",
      "kind": "boolean",
      "required": false,
      "description": "The text content of the file to upload"
    },
    {
      "name": "binaryPropertyName",
      "display_name": "Input Binary Field",
      "kind": "string",
      "required": true,
      "default": "data"
    },
    {
      "name": "fileContent",
      "display_name": "File Content",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The text content of the file to upload"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false
    },
    {
      "name": "path",
      "display_name": "Path",
      "kind": "string",
      "required": true,
      "default": "/",
      "description": "Path of directory to list contents of"
    },
    {
      "name": "recursive",
      "display_name": "Recursive",
      "kind": "boolean",
      "required": true,
      "description": "Whether to return object representing all directories / objects recursively found within SFTP server"
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Ftp/Ftp.node.ts"
}