
FTP 2 Google Drive
描述
分类
⚙️ Automation
使用的节点
n8n-nodes-base.ifn8n-nodes-base.ftpn8n-nodes-base.ftpn8n-nodes-base.noOpn8n-nodes-base.noOpn8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.googleDriven8n-nodes-base.manualTrigger
价格免费
浏览量0
最后更新11/28/2025
workflow.json
{
"id": "V5SaH2SZzVTyn829",
"meta": {
"instanceId": "d577bb7ef0d4aecc419892e166746cbc334912494e75dd71e05bcd85fd68e5bb",
"templateCredsSetupCompleted": true
},
"name": "FTP 2 Google Drive",
"tags": [],
"nodes": [
{
"id": "3733da7c-f05d-4679-9f47-8e72295dcc77",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1184,
-192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b7223fcd-e5f9-4be6-b645-409a91017373",
"name": "Workflow Documentation",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1184,
-512
],
"parameters": {
"width": 389,
"height": 233,
"content": "## FTP to Google Drive Transfer Workflow\n\nThis workflow:\n1. **Manually triggered** - Click Execute to start\n2. **Lists FTP directory** - Gets all files from specified folder\n3. **Downloads files** - Retrieves each file as binary data\n4. **Uploads to Google Drive** - Stores files in specified Drive folder\n\n**Configuration needed:**\n- FTP credentials (server, username, password)\n- Google Drive OAuth2 credentials\n- Target directory paths"
},
"typeVersion": 1
},
{
"id": "916ae8dc-799a-4c80-ab59-22f2c9d16044",
"name": "List FTP Directory",
"type": "n8n-nodes-base.ftp",
"position": [
-960,
-192
],
"parameters": {
"path": "/",
"operation": "list"
},
"credentials": {
"ftp": {
"id": "t4MWeiBq6luzXIGz",
"name": "FTP account"
}
},
"typeVersion": 1
},
{
"id": "d47ccf08-31bc-4d12-bac9-3fdb2be4a6e0",
"name": "Processing Notes",
"type": "n8n-nodes-base.stickyNote",
"position": [
-736,
-496
],
"parameters": {
"width": 320,
"content": "## File Processing\n\nThis section processes each file found in the FTP directory:\n- Filters for actual files (not directories)\n- Downloads binary content\n- Prepares for Google Drive upload\n\n**Note:** Adjust file filtering logic as needed for your use case."
},
"typeVersion": 1
},
{
"id": "09ce1608-37d2-40ee-a535-b2104d92747b",
"name": "Filter Files Only",
"type": "n8n-nodes-base.if",
"position": [
-736,
-192
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 1,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "condition-1",
"operator": {
"type": "string",
"operation": "equals",
"rightType": "string"
},
"leftValue": "={{ $json.type }}",
"rightValue": "-"
}
]
}
},
"typeVersion": 2
},
{
"id": "6c9a1d63-79bc-4ebd-899d-709accd50191",
"name": "Download File from FTP",
"type": "n8n-nodes-base.ftp",
"position": [
-512,
-288
],
"parameters": {
"path": "={{ $json.path }}",
"binaryPropertyName": "={{ $json.name }}"
},
"credentials": {
"ftp": {
"id": "t4MWeiBq6luzXIGz",
"name": "FTP account"
}
},
"typeVersion": 1
},
{
"id": "3a715a9f-7b50-4cf3-9e6f-dfb70760f739",
"name": "Upload to Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
-288,
-288
],
"parameters": {
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"options": {},
"folderId": "1ABCdefGHIjklMNOpqrSTUvwxyz"
},
"typeVersion": 3
},
{
"id": "032523ae-cdac-43ac-9a4c-8b4ac2277be5",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
-512,
-96
],
"parameters": {},
"typeVersion": 1
},
{
"id": "87566e32-5b20-4aeb-abe6-61cbf2c98c1d",
"name": "No Operation, do nothing1",
"type": "n8n-nodes-base.noOp",
"position": [
-64,
-288
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "93f753aa-891f-4e66-a34e-e36e99405ce8",
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "List FTP Directory",
"type": "main",
"index": 0
}
]
]
},
"Filter Files Only": {
"main": [
[
{
"node": "Download File from FTP",
"type": "main",
"index": 0
}
],
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
]
]
},
"List FTP Directory": {
"main": [
[
{
"node": "Filter Files Only",
"type": "main",
"index": 0
}
]
]
},
"Download File from FTP": {
"main": [
[
{
"node": "Upload to Google Drive",
"type": "main",
"index": 0
}
]
]
},
"Upload to Google Drive": {
"main": [
[
{
"node": "No Operation, do nothing1",
"type": "main",
"index": 0
}
]
]
}
}
}