Group Details Private

Moderators

  • RE: [存储 | Storage] 文件节点 file

    文件上传

    0_1554713303558_daf03eda-8202-466c-869b-1b923a8afe45-image.png

    [
        {
            "id": "631c8235.0da94c",
            "type": "http in",
            "z": "47c12e6e.b915",
            "name": "",
            "url": "/upload",
            "method": "post",
            "upload": true,
            "swaggerDoc": "",
            "x": 170,
            "y": 260,
            "wires": [
                [
                    "ef2d282b.361418",
                    "dfea7f43.00a13"
                ]
            ]
        },
        {
            "id": "3e5c10fb.06b51",
            "type": "http response",
            "z": "47c12e6e.b915",
            "name": "",
            "statusCode": "",
            "headers": {},
            "x": 610,
            "y": 260,
            "wires": []
        },
        {
            "id": "af211fcc.b3b35",
            "type": "file",
            "z": "47c12e6e.b915",
            "name": "",
            "filename": "",
            "appendNewline": true,
            "createDir": false,
            "overwriteFile": "false",
            "x": 470,
            "y": 260,
            "wires": [
                [
                    "3e5c10fb.06b51"
                ]
            ]
        },
        {
            "id": "2bdbc806.5ab9b8",
            "type": "http in",
            "z": "47c12e6e.b915",
            "name": "",
            "url": "/",
            "method": "get",
            "upload": false,
            "swaggerDoc": "",
            "x": 190,
            "y": 320,
            "wires": [
                [
                    "a0c54f05.259ed"
                ]
            ]
        },
        {
            "id": "f877440e.6f8be8",
            "type": "http response",
            "z": "47c12e6e.b915",
            "name": "",
            "statusCode": "",
            "headers": {},
            "x": 490,
            "y": 320,
            "wires": []
        },
        {
            "id": "a0c54f05.259ed",
            "type": "template",
            "z": "47c12e6e.b915",
            "name": "",
            "field": "payload",
            "fieldType": "msg",
            "format": "handlebars",
            "syntax": "plain",
            "template": "<!DOCTYPE html>\n<html>\n<body>\n<form method=\"post\" enctype=\"multipart/form-data\" action=\"/upload\">\n <div>\n   <label for=\"file\">Choose file to upload</label>\n   <input type=\"file\" id=\"file\" name=\"file\" multiple>\n </div>\n <div>\n   <button>Submit</button>\n </div>\n</form>\n</body>\n</html>",
            "output": "str",
            "x": 340,
            "y": 320,
            "wires": [
                [
                    "f877440e.6f8be8"
                ]
            ]
        },
        {
            "id": "ef2d282b.361418",
            "type": "function",
            "z": "47c12e6e.b915",
            "name": "",
            "func": "msg.payload = msg.req.files[0].buffer.toString();\nmsg.filename = '/data/' + msg.req.files[0].originalname;\nreturn msg;",
            "outputs": 1,
            "noerr": 0,
            "x": 340,
            "y": 260,
            "wires": [
                [
                    "af211fcc.b3b35"
                ]
            ]
        },
        {
            "id": "dfea7f43.00a13",
            "type": "debug",
            "z": "47c12e6e.b915",
            "name": "",
            "active": true,
            "tosidebar": true,
            "console": false,
            "tostatus": false,
            "complete": "true",
            "x": 330,
            "y": 200,
            "wires": []
        },
        {
            "id": "b652cdf1.001d3",
            "type": "inject",
            "z": "47c12e6e.b915",
            "name": "test read",
            "topic": "",
            "payload": "",
            "payloadType": "date",
            "repeat": "",
            "crontab": "",
            "once": false,
            "onceDelay": 0.1,
            "x": 180,
            "y": 420,
            "wires": [
                [
                    "6c0e3bde.c196e4"
                ]
            ]
        },
        {
            "id": "6c0e3bde.c196e4",
            "type": "file in",
            "z": "47c12e6e.b915",
            "name": "",
            "filename": "/data/test.c",
            "format": "utf8",
            "chunk": false,
            "sendError": false,
            "x": 350,
            "y": 420,
            "wires": [
                [
                    "e88252a.0b0e0b"
                ]
            ]
        },
        {
            "id": "e88252a.0b0e0b",
            "type": "debug",
            "z": "47c12e6e.b915",
            "name": "",
            "active": true,
            "tosidebar": true,
            "console": false,
            "tostatus": false,
            "complete": "true",
            "x": 490,
            "y": 420,
            "wires": []
        }
    ]
    
    posted in 节点 | Nodes
  • RE: 平台还好么,启动后进不去应用

    磁盘满了,prune 了下 docker,现在好了

    posted in 反馈 | FAQ
  • RE: node-red如何安装中文界面?

    好像node-red就是没有中文支持?

    posted in 创造 | Create
  • RE: 应用怎么启动不了了,一直停在99%就不动了

    https://goiot.cc/hk77cn/aaa
    可以启动啊

    posted in 反馈 | FAQ
  • RE: nodered中第三方post对接怎么做安全auth验证 posted in 反馈 | FAQ
  • RE: 应用怎么启动不了了,一直停在99%就不动了

    多等几秒就好了

    posted in 反馈 | FAQ
  • 关于不定期后台清理维护的通知 Notice about aperiodically server maintenance

    随着近期用户和应用数的瞬时增加,服务器压力剧增,对于目前的开放平台,我们会采取不定期服务器维护的方式,保证基础功能正常运转。包括但不限于在后台检查和停止“无效”的用户应用,应用数据仍会保留,如有需要手动启动应用即可。

    如果确有需要长期在云端运行的应用,请邮件告知详细用途:librae@linkgo.io

    Along with increasing of users & apps, cloud servers are often out of resource. In order to keep everything functioning well, we will do aperiodically server maintenance, including but not limited to check and stop useless apps. However the app data will still be there, by manually clicking to start the app.

    If your app is necessary indeed, to be running always, please email us about the purpose details: librae@linkgo.io

    补充说明:公共资源有限,该清理行为同时适用于部分短时网络流量过大的应用。请勿使用 Go.IoT 进行大量或高频的网络数据传输。

    More: This clean up activity also applies to the apps which do frequent or huge data net I/O due to limited public resource. Please be aware.

    posted in 公告 | Announcements
  • RE: 我的node-red是单独docker出来的吗,不会和别人冲突吧?

    别担心,不会和别人冲突,你可以尽情发挥。

    posted in 反馈 | FAQ
  • RE: 如何在本地使用dashboard里的标签

    在命令面板里搜索 dashboard 安装
    或者在 node-red 数据目录下 npm i node-red-dashboard

    posted in 创造 | Create
  • RE: Node-RED 是什么?Go.IoT 又是什么?

    @alei643 可以了哈

    posted in 入门 | Tutorial

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.