# How to setup login for ftpd

**URL:** <https://community.info-beamer.com/t/how-to-setup-login-for-ftpd/311>\
**Category:** Help\
**Created:** [January 28, 2019, 2:20pm UTC](https://community.info-beamer.com/t/how-to-setup-login-for-ftpd/311 "2019-01-28T14:20:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![john](https://community.info-beamer.com/letter_avatar_proxy/v3/letter/j/a3d4f5/32.png) [@john](https://community.info-beamer.com/u/john)\
**Post date:** [January 28, 2019, 2:20pm UTC](https://community.info-beamer.com/t/how-to-setup-login-for-ftpd/311/1 "2019-01-28T14:20:01Z")

</div>

For my project I would like to be able to send files directly to the info-beamer device.  
I have a package service running ftpd.  
It is accepting connections but Logon is not working.  
Is there a way to setup anonymous logon or set a user/pw for ftpd on the info-beamer hosted os?

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [January 28, 2019, 2:42pm UTC](https://community.info-beamer.com/t/how-to-setup-login-for-ftpd/311/2 "2019-01-28T14:42:38Z")

</div>

That’s possible. I guess you’re using the included `ftpd`? I didn’t use that yet. For a customer project I used [https://github.com/giampaolo/pyftpdlib](https://github.com/giampaolo/pyftpdlib) instead and wrote a customer authentication code. The big advantage then is that you have complete control over how uploads/downloads are handled and can immediately react to the uploads.

A minimal example can be found here: [https://github.com/giampaolo/pyftpdlib/blob/master/demo/basic\_ftpd.py](https://github.com/giampaolo/pyftpdlib/blob/master/demo/basic_ftpd.py)

For my project I just included the `pyftpdlib` directory from that repository within my info-beamer node.

---

<div class="post-metadata">

**Author:** ![infobeamer-fw](https://community.info-beamer.com/user_avatar/community.info-beamer.com/infobeamer-fw/32/3_2.png) [@infobeamer-fw](https://community.info-beamer.com/u/infobeamer-fw)\
**Post date:** [January 28, 2019, 2:45pm UTC](https://community.info-beamer.com/t/how-to-setup-login-for-ftpd/311/3 "2019-01-28T14:45:08Z")

</div>

Oh. And you can bind to port `2121`. The hosted OS has an iptables rule set that forwards 2121➡21 and 8080➡80, so the package service user can bind that port.
