Hello,
In a node-contrib-advanced-ftp node I try to list a directory with workingDir parameter set.
If I try it with workingDir = /sdcard the message is "Error: No such file or directory."
If I try it for example with workingDir = /workspace, the result is as expected. So the ftp-node seems to work fine.
The command "LIST" on the root directory shows me, that there is a directory named sdcard.
But I can not do a LIST command with "workingDir = /sdcard".
Could that be some access rights problem?
With FileZilla everything works. I can see the sdcard directory.
Please help me understand. What did I miss?
[
{
"id": "b84cfee46673a632",
"type": "advanced-ftp",
"z": "ac5391a99acbd058",
"ftp": "42a903ea.527e3c",
"operation": "list",
"filename": "",
"localFilename": "",
"workingDir": "",
"oldPath": "",
"newPath": "",
"command": "",
"recursive": false,
"useCompression": false,
"throwError": true,
"showError": true,
"name": "",
"x": 650,
"y": 680,
"wires": [
[
"42c3d933b4e92e48"
]
]
},
{
"id": "aa12a75711f7ad64",
"type": "inject",
"z": "ac5391a99acbd058",
"name": "LIST workingDir = /workspace",
"props": [
{
"p": "payload"
},
{
"p": "workingDir",
"v": "/workspace",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payloadType": "date",
"x": 260,
"y": 700,
"wires": [
[
"b84cfee46673a632",
"1d82ebaab0d65f77"
]
]
},
{
"id": "42c3d933b4e92e48",
"type": "debug",
"z": "ac5391a99acbd058",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 870,
"y": 680,
"wires": []
},
{
"id": "1d82ebaab0d65f77",
"type": "debug",
"z": "ac5391a99acbd058",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 650,
"y": 740,
"wires": []
},
{
"id": "1365805312ffa49f",
"type": "inject",
"z": "ac5391a99acbd058",
"name": "LIST workingDir = /sdcard",
"props": [
{
"p": "payload"
},
{
"p": "workingDir",
"v": "/sdcard",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payloadType": "date",
"x": 250,
"y": 740,
"wires": [
[
"b84cfee46673a632",
"1d82ebaab0d65f77"
]
]
},
{
"id": "0a7509bc7ff43d72",
"type": "inject",
"z": "ac5391a99acbd058",
"name": "LIST /",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payloadType": "date",
"x": 190,
"y": 660,
"wires": [
[
"b84cfee46673a632"
]
]
},
{
"id": "42a903ea.527e3c",
"type": "advanced-ftp-config",
"host": "192.168.2.233",
"port": "21",
"secure": false,
"secureOptions": "",
"user": "Admin",
"connTimeout": "",
"pasvTimeout": "",
"keepalive": "",
"name": ""
}
]