Further tweaks to FTP and HTML layout

This commit is contained in:
freakwriter 2024-07-09 12:57:31 -04:00
parent 778e1b2255
commit 7d439f6ddf
2 changed files with 12 additions and 11 deletions

View File

@ -27,10 +27,6 @@ To connect to an SFTP server, use an SFTP credential. Refer to [FTP credentials]
To attach a file for upload, you'll need to use an extra node such as the [Read/Write Files from Disk](/integrations/builtin/core-nodes/n8n-nodes-base.filesreadwrite/) node or the [HTTP Request](/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/) node to pass the file as a data property.
///
## Node parameters
Node parameters depend on the operation you select. Most operations display a common node parameter, the **Path**. Specify the remote path that you would like to connect to. This parameter isn't available when you select the **Rename** operation.
## Delete
This operation includes one parameter: **Path**. Enter the remote path that you would like to connect to.
@ -43,21 +39,21 @@ The delete operation adds one new option: **Folder**. If you turn this option on
## Download
This operation includes these parameters:
Configure this operation with these parameters:
* **Path**: Enter the remote path that you would like to connect to.
* **Put Output File in Field**: Enter the name of the output binary field to put the file in.
## List
This operation includes these parameters:
Configure this operation with these parameters:
* **Path**: Enter the remote path that you would like to connect to.
* **Recursive**: Select whether to return an object representing all directories / objects recursively found within the FTP/SFTP server (turned on) or not (turned off).
## Rename
This operation includes these parameters:
Configure this operation with these parameters:
- **Old Path**: Enter the existing path of the file you'd like to rename in this field.
- **New Path**: Enter the new path for the renamed file in this field.
@ -68,7 +64,7 @@ This operation adds one new option: **Create Directories**. If you turn this opt
## Upload
This operation includes these parameters:
Configure this operation with these parameters:
* **Path**: Enter the remote path that you would like to connect to.
* **Binary File**: Select whether you'll upload a binary file (turned on) or enter text content to be uploaded (turned off). Other parameters depend on your selection in this field.

View File

@ -43,10 +43,15 @@ Extract contents from an HTML-formatted source. The source can be in JSON or a b
Use these parameters:
- **Source Data**: Select the source type for your HTML content. Choose between:
### Source Data
Select the source type for your HTML content. Choose between:
* **JSON**: If you select this source data, enter the **JSON Property**: the name of the input containing the HTML you want to extract. The property can contain a string or an array of strings.
* **Binary**: If you select this source data, enter the **Input Binary Field**: the name of the input containing the HTML you want to extract. The property can contain a string or an array of strings.
- **Extraction Values**:
### Extraction Values
- **Key**: Enter the key to save the extracted value under.
- **CSS Selector**: Enter the CSS selector to search for.
- **Return Value**: Select the type of data to return. Choose from:
@ -60,7 +65,7 @@ Use these parameters:
### Extract HTML Content options
In addition to the parameters listed above, you can also configure this operation with these options:
You can also configure this operation with these options:
* **Trim Values**: Controls whether to remove all spaces and newlines from the beginning and end of the values (turned on) or leaves them (turned off).
* **Clean Up Text**: Controls whether to remove leading whitespaces, trailing whitespaces, and line breaks (newlines) and condense multiple consecutive whitespaces into a single space (turned on) or to leave them as-is (turned off).