• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Use netPi as a FTP server
Hello community,

I would like to execute the following task on the netPi:

I've currently a sensor which I can configure to use an ftp server, so that it could post sensor data to the defined ftp server.
Now I would like to configure the netPi as a FTP server, but I don't know how to do this via the web UI.

Furthermore, I would like to run a container providing a web interface visualizing the data on the internal FTP server.
Is there anyone who could help me with the ftp server installation and data access?

Thank you for your help.
Well martech,

as you have recognized netPI is just a plattform where additional software can be added using Docker technology. By default netPI and its configuration web interface does not support any FTP server. You have to add it yourself.

This means that for your special demand ... as you describe it ... you have to develop your own software container, that contains an FTP server and ... an extra web server to visualize your data.

Since both software packages in combo you will not find preinstalled in any container available on the web I recommend you the following procedure how I would start:

I would load the Raspbian container to my netPI first from here. This is a good starter and gives you access to netPI via a remote terminal program like Putty over SSH. To make development much easier you should start the container in network mode Host, which exposes all containers Ethernet ports to the host. So postinstallations of FTP programs etc. will immediately take effect and can be reached from outside.

From there you can start your development as normal Linux developer.

sudo apt-get update

... will be propably the first command you use.

As next I would follow this post to install an FTP server into the container https://www.raspberrypi.org/documentatio...ess/ftp.md

sudo apt-get install pure-ftpd

Please note down all your commands you entered during the whole installation ... this makes it easier for you to create a container build script for an automated build later. Then you can let create a container instead of a manual procedure like described automatically with a defined scope of software.

As next you have to install a web server. I use nginx normally as wb server. Also for nginx a raspberry web site helps here how to install it.

sudo apt-get install nginx

Please take into account that netPI occupies the HTTP/HTTPS ports 80 and 443. So before starting nginx you have to configure its ports right within its configuration file


After that it is up to you to create your own HTML sites which relates to data from the FTP server.

You never fail until you stop trying.“, Albert Einstein (1879 - 1955)


Possibly Related Threads...
Thread Author Replies Views Last Post
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 23 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  PM - develope OPC UA Server using the Codesys Lingyue 5 22 January-17th-2020, 11:12 AM
Last Post: Armin@netPI
  [SOLVED] netPI with Raspbian Desktop firefly 8 58 November-28th-2019, 06:01 PM
Last Post: Armin@netPI
  [SOLVED] netPI stops working (502 - Bad Gateway) Andi 3 39 June-19th-2019, 03:58 PM
Last Post: Andi
  [SOLVED] WebConfig netpi-nodered-fieldbus JohnyD94 13 66 May-6th-2019, 12:20 AM
Last Post: JohnyD94
  New Container example "OPC UA server" Armin@netPI 0 25 April-12th-2019, 11:51 AM
Last Post: Armin@netPI
  [INFO]Docker DNS server Armin@netPI 0 22 March-7th-2019, 09:02 AM
Last Post: Armin@netPI
  [SOLVED] node-red Dashboard Docker Image for netPI? anrodriguez 1 38 February-7th-2019, 05:35 PM
Last Post: Armin@netPI
  [SOLVED] Azure IotEdge on netPI rene.divossen 7 71 January-29th-2019, 10:37 AM
Last Post: rene.divossen
  [SOLVED] Building Custom Images for Netpi Rahulsagar 2 114 December-17th-2018, 10:01 PM
Last Post: Rahulsagar

Forum Jump:

Users browsing this thread: 1 Guest(s)