Ftp
Node: ftp · Full type: n8n-nodes-base.ftp · Version: 1
Credentials
ftp (alias: @ftp) / sftp (alias: @sftp)
CREDENTIAL @ftp = ftp "My Ftp"
Operations
delete
| Parameter |
Type |
Default |
Details |
path |
string |
"" |
required |
options |
collection |
{} |
keys: folder, recursive, timeout |
download
| Parameter |
Type |
Default |
Details |
path |
string |
"" |
required |
binaryPropertyName |
string |
"data" |
required |
options |
collection |
{} |
keys: enableConcurrentReads, maxConcurrentReads, chunkSize, timeout |
list
| Parameter |
Type |
Default |
Details |
path |
string |
"/" |
required |
recursive |
boolean |
false |
required |
options |
collection |
{} |
keys: timeout |
rename
| Parameter |
Type |
Default |
Details |
oldPath |
string |
"" |
required |
newPath |
string |
"" |
required |
options |
collection |
{} |
keys: createDirectories, timeout |
upload
| Parameter |
Type |
Default |
Details |
path |
string |
"" |
required |
binaryData |
boolean |
true |
|
binaryPropertyName |
string |
"data" |
required |
fileContent |
string |
"" |
|
options |
collection |
{} |
keys: timeout |
Common Parameters
| Parameter |
Type |
Default |
Details |
protocol |
options |
"ftp" |
ftp, sftp |
Parameter Details
options children:
| Parameter |
Type |
Default |
Details |
folder |
boolean |
false |
|
recursive |
boolean |
false |
|
timeout |
number |
10000 |
|
Example
NODE "ftp" @ftp AS "Ftp" {
operation: "list",
path: {{ $json.path }},
binaryPropertyName: {{ $json.binaryPropertyName }},
oldPath: {{ $json.oldPath }},
newPath: {{ $json.newPath }}
}