0

ftp client/ddclient
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ftp client/ddclient

by maxvenum on Sun May 30, 2021 8:04 pm

Hi,

I'm looking for a way to transfer data from my Metro M4 Express Airlift Lite to a NAS on my network. I was originally thinking samba shares, but I understand Arduino isn't that powerful. Now I'm thinking FTP server (if someone knows an easier way, please let me know!). I found this ftp client for Arduino:

https://playground.arduino.cc/Code/FTP/

However, I'm using circuitpython. Much of it looks pretty straight forward if I can find an equivalent to ddclient. Anyone know of a ddclient equivalent in circuitpython?

Thanks,
Tobyn

maxvenum
 
Posts: 6
Joined: Tue May 25, 2021 9:11 pm

Re: ftp client/ddclient

by adafruit_support_mike on Sun May 30, 2021 10:20 pm

I don't know of any existing CircuitPython FTP code, but the core FTP protocol is pretty simple. If you have an existing implementation, you should be able to copy the statements over without too much trouble.

Just so you know, FTP is generally deprecated for any system connected to the internet. It's just too easy to abuse.

adafruit_support_mike
 
Posts: 63053
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.