ftp client/ddclient

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
maxvenum
 
Posts: 6
Joined: Tue May 25, 2021 9:11 pm

ftp client/ddclient

Post by maxvenum »

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

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: ftp client/ddclient

Post by adafruit_support_mike »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”