# FTP Server setup in node-red to save scanner no read images

**URL:** <https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981>\
**Category:** Industrial\
**Created:** [23 May 2022 21:35 UTC](https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981 "2022-05-23T21:35:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jts450](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jts450](https://discourse.nodered.org/u/jts450)\
**Post date:** [23 May 2022 21:35 UTC](https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981/1 "2022-05-23T21:35:19Z")

</div>

I am trying to save no read images from a Datalogic scanner to FTP server in node red. I cant seem to connect to the server or if it is even created since it show as idle. I assume i am using the correct node with using ftp server vs ftp in.

any ideas on what i am missing in the setup?

here is the node: ```  
node-red-contrib-ftp-server

```auto

```

[  
{  
"id": "5492a816f31f9d82",  
"type": "ftp-server",  
"z": "1c8b9366c04db356",  
"name": "",  
"ip": "127.0.0.1",  
"port": "2000",  
"passiveportrange": "",  
"credentials": {},  
"x": 360,  
"y": 1180,  
"wires": [  
[  
"5f271f3f6f380b1f"  
],  
[  
"843c75db8368ab9b"  
]  
]  
},  
{  
"id": "5f271f3f6f380b1f",  
"type": "debug",  
"z": "1c8b9366c04db356",  
"name": "",  
"active": true,  
"tosidebar": true,  
"console": false,  
"tostatus": false,  
"complete": "payload",  
"targetType": "msg",  
"statusVal": "",  
"statusType": "auto",  
"x": 670,  
"y": 1160,  
"wires":   
},  
{  
"id": "94c16f8bc54b337b",  
"type": "ftp in",  
"z": "1c8b9366c04db356",  
"ftp": "208a39eccc0f3365",  
"operation": "put",  
"filename": "",  
"localFilename": "",  
"name": "",  
"x": 350,  
"y": 1260,  
"wires": [  
  
]  
},  
{  
"id": "843c75db8368ab9b",  
"type": "file",  
"z": "1c8b9366c04db356",  
"name": "",  
"filename": "C:\Users\justst03\Documents\ScannerPhotos",  
"appendNewline": true,  
"createDir": true,  
"overwriteFile": "false",  
"encoding": "none",  
"x": 770,  
"y": 1200,  
"wires": [  
  
]  
},  
{  
"id": "208a39eccc0f3365",  
"type": "ftp",  
"host": "192.168.1.75",  
"port": "21",  
"secureOptions": "",  
"user": "Scanner.User",  
"connTimeout": "",  
"pasvTimeout": "",  
"keepalive": ""  
}  
]

```auto
![image|690x318](upload://7npJMGSUg39P99YiJwtCIH2aOxX.png)
```

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [23 May 2022 21:57 UTC](https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981/2 "2022-05-23T21:57:14Z")

</div>

Please repost the code using the pre-formatted text option otherwise it won't be usable.

You also need to share how you have Node-RED installed/configured - many networking issues are caused by the use of Docker for example.

---

<div class="post-metadata">

**Author:** ![jts450](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jts450](https://discourse.nodered.org/u/jts450)\
**Post date:** [31 May 2022 20:22 UTC](https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981/3 "2022-05-31T20:22:17Z")

</div>

```auto
[
    {
        "id": "29bdc5903ebe68f6",
        "type": "debug",
        "z": "1c8b9366c04db356",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 650,
        "y": 1100,
        "wires": []
    },
    {
        "id": "bd1ad3acab7aa002",
        "type": "tcp in",
        "z": "1c8b9366c04db356",
        "name": "",
        "server": "client",
        "host": "192.168.1.50",
        "port": "51240",
        "datamode": "stream",
        "datatype": "utf8",
        "newline": "",
        "topic": "",
        "base64": false,
        "tls": "",
        "x": 392,
        "y": 1100,
        "wires": [
            [
                "29bdc5903ebe68f6"
            ]
        ]
    },
    {
        "id": "897d351c07392aa1",
        "type": "inject",
        "z": "1c8b9366c04db356",
        "name": "Trigger Scan",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "T",
        "payloadType": "str",
        "x": 206,
        "y": 1052,
        "wires": [
            [
                "c177037e93d8721f"
            ]
        ]
    },
    {
        "id": "c177037e93d8721f",
        "type": "tcp out",
        "z": "1c8b9366c04db356",
        "name": "",
        "host": "192.168.1.50",
        "port": "51240",
        "beserver": "client",
        "base64": false,
        "end": false,
        "tls": "",
        "x": 606,
        "y": 1052,
        "wires": []
    },
    {
        "id": "5492a816f31f9d82",
        "type": "ftp-server",
        "z": "1c8b9366c04db356",
        "name": "",
        "ip": "127.0.0.1",
        "port": "30",
        "passiveportrange": "",
        "x": 360,
        "y": 1180,
        "wires": [
            [
                "5f271f3f6f380b1f"
            ],
            [
                "843c75db8368ab9b"
            ]
        ]
    },
    {
        "id": "5f271f3f6f380b1f",
        "type": "debug",
        "z": "1c8b9366c04db356",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "payload",
        "targetType": "msg",
        "statusVal": "",
        "statusType": "auto",
        "x": 670,
        "y": 1160,
        "wires": []
    },
    {
        "id": "94c16f8bc54b337b",
        "type": "ftp in",
        "z": "1c8b9366c04db356",
        "ftp": "208a39eccc0f3365",
        "operation": "list",
        "filename": "",
        "localFilename": "",
        "name": "",
        "x": 670,
        "y": 1260,
        "wires": [
            []
        ]
    },
    {
        "id": "843c75db8368ab9b",
        "type": "file",
        "z": "1c8b9366c04db356",
        "name": "",
        "filename": "C:\\Users\\justst03\\Documents\\ScannerPhotos",
        "appendNewline": true,
        "createDir": true,
        "overwriteFile": "false",
        "encoding": "none",
        "x": 770,
        "y": 1200,
        "wires": [
            []
        ]
    },
    {
        "id": "208a39eccc0f3365",
        "type": "ftp",
        "host": "192.168.1.75",
        "port": "21",
        "secureOptions": "",
        "user": "Scanner.User",
        "connTimeout": "",
        "pasvTimeout": "",
        "keepalive": ""
    }
]

```

In my case I am running node-red on a windows machine and the ftp server inside node red here. documentation for the FTP server says to use an available port and i just picked one.

---

<div class="post-metadata">

**Author:** ![jts450](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jts450](https://discourse.nodered.org/u/jts450)\
**Post date:** [1 June 2022 13:34 UTC](https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981/4 "2022-06-01T13:34:14Z")

</div>

The problem i am having is that the ftp server node just says IDLE and i am not sure if i just need to use a file node to get the images from the ftp node?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 July 2022 13:34 UTC](https://discourse.nodered.org/t/ftp-server-setup-in-node-red-to-save-scanner-no-read-images/62981/5 "2022-07-31T13:34:42Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
