Files
n8n-enterprise-unlocked/test-workflows/workflows/4.json
2025-05-20 07:24:56 +01:00

158 lines
2.9 KiB
JSON

{
"createdAt": "2021-01-21T13:48:02.703Z",
"updatedAt": "2021-03-15T13:59:19.891Z",
"id": "4",
"name": "FTP:ftp:list download upload",
"active": false,
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [
250,
300
],
"id": "5bc91980-86a2-469c-8ad0-7de1d8c9b7e1"
},
{
"parameters": {
"operation": "list",
"path": "/1KB.zip"
},
"name": "FTP1",
"type": "n8n-nodes-base.ftp",
"typeVersion": 1,
"position": [
450,
300
],
"credentials": {
"ftp": {
"id": "106",
"name": "FTP creds"
}
},
"id": "7aee41cf-627d-424a-99a3-952837497848"
},
{
"parameters": {
"path": "1KB.zip"
},
"name": "FTP",
"type": "n8n-nodes-base.ftp",
"typeVersion": 1,
"position": [
600,
300
],
"credentials": {
"ftp": {
"id": "106",
"name": "FTP creds"
}
},
"id": "ab5f20c7-6464-4779-8e13-b47b11ba9459"
},
{
"parameters": {
"operation": "upload",
"path": "=/upload/{{$node[\"Set\"].json[\"filename\"]}}"
},
"name": "FTP2",
"type": "n8n-nodes-base.ftp",
"typeVersion": 1,
"position": [
900,
300
],
"credentials": {
"ftp": {
"id": "106",
"name": "FTP creds"
}
},
"id": "066b0e3d-918f-4a28-94b6-9432e6e572a1"
},
{
"parameters": {
"values": {
"string": [
{
"name": "filename",
"value": "=test{{Date.now()}}.zip"
}
]
},
"options": {}
},
"name": "Set",
"type": "n8n-nodes-base.set",
"typeVersion": 1,
"position": [
750,
300
],
"id": "08e2e0f0-f730-48cf-a05e-40820a55aaa3"
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "FTP1",
"type": "main",
"index": 0
}
]
]
},
"FTP1": {
"main": [
[
{
"node": "FTP",
"type": "main",
"index": 0
}
]
]
},
"FTP": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
},
"FTP2": {
"main": [
[]
]
},
"Set": {
"main": [
[
{
"node": "FTP2",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {},
"staticData": null,
"meta": null,
"pinData": null,
"versionId": null,
"triggerCount": 0,
"tags": []
}